Skip to content

Commit

Permalink
Merge branch 'hotfix/add-missing-method-in-performance'
Browse files Browse the repository at this point in the history
  • Loading branch information
mashb1t committed Jun 16, 2024
2 parents af209cd + 9ef7fe0 commit cecd687
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/flags.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ def list(cls) -> list:
def values(cls) -> list:
return list(map(lambda c: c.value, cls))

@classmethod
def values(cls) -> list:
return list(map(lambda c: c.value, cls))

@classmethod
def by_steps(cls, steps: int | str):
return cls[Steps(int(steps)).name]
Expand Down

0 comments on commit cecd687

Please sign in to comment.