Merge branch 'hotfix/add-missing-method-in-performance'

This commit is contained in:
Manuel Schmid
2024-06-16 18:54:42 +02:00
+4
View File
@@ -163,6 +163,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]