Replace abc.abstractproperty with property and abc.abstractmethod
Replace abc.abstractproperty with property and abc.abstractmethod, as abc.abstractproperty has been deprecated since python3.3[1] [1]https://docs.python.org/3.8/whatsnew/3.3.html?highlight=deprecated#abc Change-Id: Iab86cf42e5b6dbd2181594fb0fab0263ddb7a6f5
This commit is contained in:
parent
9e0e64a620
commit
49abc64f3e
|
@ -726,7 +726,8 @@ class ServiceInstanceManager(object):
|
|||
|
||||
class BaseNetworkhelper(metaclass=abc.ABCMeta):
|
||||
|
||||
@abc.abstractproperty
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
def NAME(self):
|
||||
"""Returns code name of network helper."""
|
||||
|
||||
|
|
Loading…
Reference in New Issue