Skip to content

Commit

Permalink
fix ulid class (#2498)
Browse files Browse the repository at this point in the history
  • Loading branch information
sainak authored Sep 25, 2024
1 parent 663bf30 commit 11b62ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion care/utils/ulid/ulid.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ULID(BaseULID):
@classmethod
def parse(cls, value) -> Self:
if isinstance(value, BaseULID):
return cls.parse_baseulid(value)
return cls.parse_ulid(value)
if isinstance(value, UUID):
return cls.parse_uuid(value)
if isinstance(value, str):
Expand Down

0 comments on commit 11b62ee

Please sign in to comment.