Merge branch 'main_upstream' into feature/multi-step-rendering

This commit is contained in:
Manuel Schmid 2024-06-19 00:12:04 +02:00
commit cef92ffffe
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
1 changed files with 4 additions and 0 deletions

View File

@ -166,6 +166,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]