aenum
aenum copied to clipboard
Possible to create an auto() Enum with the inheriting class name?
class MyEnum(AutoClassStrEnum): TEST_1 = auto() TEST_2 = auto()
assert MyEnum.TEST_1.value == "MyEnum.TEST_1 "