We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9077bb commit f63868eCopy full SHA for f63868e
src/core/ydata/core/enum/string_enum.py
@@ -26,5 +26,8 @@ def _key_from_str(cls, value: str):
26
27
return None
28
29
+ def __hash__(self) -> int:
30
+ return hash(self.value)
31
+
32
def __eq__(self, other: object) -> bool:
33
return self.value == other.value
0 commit comments