empty implementation of abstract base class method
This commit is contained in:
parent
b6ccfbcf8f
commit
82added50a
@ -4,6 +4,9 @@ from image_prediction.formatter.formatters.key_formatter import KeyFormatter
|
|||||||
|
|
||||||
|
|
||||||
class EnumFormatter(KeyFormatter):
|
class EnumFormatter(KeyFormatter):
|
||||||
@staticmethod
|
|
||||||
def format_key(key):
|
def format_key(self, key):
|
||||||
return key.value if isinstance(key, Enum) else key
|
return key.value if isinstance(key, Enum) else key
|
||||||
|
|
||||||
|
def transform(self, obj):
|
||||||
|
raise NotImplementedError
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user