Make sure DataName returns the correct value
This commit is contained in:
parent
457e7cf8a3
commit
9bb8e2e02e
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ class DataName(str, Enum):
|
|||
def __repr__(self):
|
||||
return repr(self.value)
|
||||
|
||||
def __str__(self):
|
||||
return repr(self)
|
||||
|
||||
|
||||
class DataItem:
|
||||
name: DataName
|
||||
|
|
Loading…
Reference in a new issue