mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24: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
|
|
@ -1,7 +1,5 @@
|
|||
from abc import ABCMeta, abstractmethod
|
||||
|
||||
import six
|
||||
|
||||
from ayon_core import resources
|
||||
|
||||
|
||||
|
|
@ -15,8 +13,7 @@ class _AYONInterfaceMeta(ABCMeta):
|
|||
return str(self)
|
||||
|
||||
|
||||
@six.add_metaclass(_AYONInterfaceMeta)
|
||||
class AYONInterface:
|
||||
class AYONInterface(metaclass=_AYONInterfaceMeta):
|
||||
"""Base class of Interface that can be used as Mixin with abstract parts.
|
||||
|
||||
This is way how AYON addon can define that contains specific predefined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue