mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
use 'ABC' instead of 'ABCMeta'
This commit is contained in:
parent
5afed52bd9
commit
da78fbceff
15 changed files with 30 additions and 65 deletions
|
|
@ -9,9 +9,8 @@ import logging
|
|||
import threading
|
||||
import collections
|
||||
from uuid import uuid4
|
||||
from abc import ABCMeta, abstractmethod
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
import six
|
||||
import appdirs
|
||||
import ayon_api
|
||||
from semver import VersionInfo
|
||||
|
|
@ -499,8 +498,7 @@ def is_func_marked(func):
|
|||
return getattr(func, _MARKING_ATTR, False)
|
||||
|
||||
|
||||
@six.add_metaclass(ABCMeta)
|
||||
class AYONAddon(object):
|
||||
class AYONAddon(ABC):
|
||||
"""Base class of AYON addon.
|
||||
|
||||
Attributes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue