diff --git a/modules/flags.py b/modules/flags.py index 8b35daea3..29ac4615f 100644 --- a/modules/flags.py +++ b/modules/flags.py @@ -155,6 +155,10 @@ class Performance(Enum): def list(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]