diff --git a/modules/flags.py b/modules/flags.py index 1ee39465..16f4c19c 100644 --- a/modules/flags.py +++ b/modules/flags.py @@ -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]