Merge "Replace abc.abstractproperty with property and abc.abstractmethod"

This commit is contained in:
Zuul 2022-10-04 18:15:37 +00:00 committed by Gerrit Code Review
commit d1b46e9f97
1 changed files with 4 additions and 2 deletions

View File

@ -29,11 +29,13 @@ class DisplayCommandBase(command.Command, metaclass=abc.ABCMeta):
cmd_name=cmd_name)
self._formatter_plugins = self._load_formatter_plugins()
@abc.abstractproperty
@property
@abc.abstractmethod
def formatter_namespace(self):
"String specifying the namespace to use for loading formatter plugins."
@abc.abstractproperty
@property
@abc.abstractmethod
def formatter_default(self):
"String specifying the name of the default formatter."