Merge branch 'main' into feature/multi-step-rendering
This commit is contained in:
commit
e1be3fa37a
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in New Issue