class Cls(properties.Owner): value = properties.Enum(required=True) def __init__(self, value=None): self.value = value
class Cls(properties.Owner): value = properties.Enum(values=("1", "2", "3"), default="2")
class Cls(properties.Owner): value = properties.Enum(values=(1, "2", 3.0), default="2")