예제 #1
0
 class Color3(Enum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
예제 #2
0
 class ColorMissingNone(MissingNoneMixinEnum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
예제 #3
0
 class ColorLookUpAuto(LookUpMixinEnum, AutoNameMixinEnum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
예제 #4
0
 class ColorAutoNameWrong2(AutoNameMixinEnum, Enum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
예제 #5
0
 class ColorAutoNameWrong(AutoNameMixinEnum, StrAsReprMixinEnum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
예제 #6
0
 class ColorAutoName2(StrAsReprMixinEnum, AutoNameMixinEnum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
예제 #7
0
 class ColorAutoName(AutoNameMixinEnum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()
예제 #8
0
 class ColorStr2(StrAsReprMixinEnum, Enum):
     RED = auto()
     BLUE = auto()
     GREEN = auto()