def __init__(self, choices: Type[Enum]):
    self.enum = choices
    super().__init__(tuple(choices.__members__))
def __init__(self, choices: Type[Enum]):
    self.enum = choices
    super().__init__(tuple(choices.__members__))