Skip to content

Commit

Permalink
Removed a type specification from an enum
Browse files Browse the repository at this point in the history
  • Loading branch information
christophertubbs committed Jan 25, 2024
1 parent d68af7b commit be06076
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion python/lib/core/dmod/core/common/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from .types import TextValues


class Status(str, CommonEnum):
class Status(CommonEnum):
"""
Very basic enumeration used to describe the status of something
"""
Expand Down
2 changes: 0 additions & 2 deletions python/lib/core/dmod/core/common/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,6 @@ def __ge__(self, other: typing.Union[Self, typing.SupportsInt, str]) -> bool:

return this_index >= other_index



@classmethod
def validate(cls, value: typing.Union[Self, _T, typing.SupportsInt, str]) -> Self:
"""
Expand Down

0 comments on commit be06076

Please sign in to comment.