Merge branch 'main_upstream'

This commit is contained in:
Manuel Schmid
2024-06-21 20:25:50 +02:00
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -167,6 +167,10 @@ class Performance(Enum):
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]