ChoiceType with a Python Enum class doesn't work
ChoiceType with a Python Enum class doesn't work: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). sqlalchemy utils.ChoiceType supports two forms for its choices argument: either a list of (value, label) tuples, or a Python enum.Enum subclass. The tuple form works…
The task
`sqlalchemy_utils.ChoiceType` supports two forms for its `choices` argument: either a list of `(value, label)` tuples, or a Python `enum.Enum` subclass. The tuple form works fine with graphene-sqlalchemy, but if I pass an Enum class, the auto-generated GraphQL schema breaks.
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.