diff --git a/modules/flags.py b/modules/flags.py index b9e6e40f2..3d32a806c 100644 --- a/modules/flags.py +++ b/modules/flags.py @@ -163,6 +163,10 @@ def list(cls) -> list: 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]