Skip to content

Commit

Permalink
Merge pull request #1 from linkian209/TIMELESS
Browse files Browse the repository at this point in the history
Added Timeless format
  • Loading branch information
linkian209 authored Feb 22, 2024
2 parents ac8c112 + cc4b34c commit 9f084c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyrchidekt/formats.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class LegalFormat(Enum):
STANDARD = 20
FUTURE = 21
PREDH = 22
TIMELESS = 23

@staticmethod
def fromString(input: str) -> LegalFormat:
Expand Down Expand Up @@ -94,5 +95,7 @@ def fromString(input: str) -> LegalFormat:
return LegalFormat.FUTURE
case "predh":
return LegalFormat.PREDH
case "timeless":
return LegalFormat.TIMELESS
case _:
raise TypeError("Not a legal format")

0 comments on commit 9f084c3

Please sign in to comment.