I can do:
class A(MyType, Enum): A=1 B=2 def __init__(self, prop1): self.prop1 = prop1
But this lead to a TypeError