mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
removed deprecated 'abstractproperty'
This commit is contained in:
parent
1f6df907eb
commit
fee3c950d3
1 changed files with 5 additions and 7 deletions
|
|
@ -1,11 +1,7 @@
|
|||
import copy
|
||||
import collections
|
||||
|
||||
from abc import (
|
||||
ABCMeta,
|
||||
abstractmethod,
|
||||
abstractproperty
|
||||
)
|
||||
from abc import ABCMeta, abstractmethod
|
||||
|
||||
import six
|
||||
|
||||
|
|
@ -84,7 +80,8 @@ class SubsetConvertorPlugin(object):
|
|||
def host(self):
|
||||
return self._create_context.host
|
||||
|
||||
@abstractproperty
|
||||
@property
|
||||
@abstractmethod
|
||||
def identifier(self):
|
||||
"""Converted identifier.
|
||||
|
||||
|
|
@ -231,7 +228,8 @@ class BaseCreator:
|
|||
|
||||
return self.family
|
||||
|
||||
@abstractproperty
|
||||
@property
|
||||
@abstractmethod
|
||||
def family(self):
|
||||
"""Family that plugin represents."""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue