Would it be possible to add support for the Enum? Since it can be super useful in communicating states, I'd like to be able to define a schema like:
status = TaskStatus
where TaskStatus is an Enum defined as:
class TaskStatus(Enum):
UNASSIGNED = 0
ONGOING = 1
COMPLETED = 2
ON_HOLD = 3
QUEUED = 4
CANCELLED = -1
Would it be possible to add support for the Enum? Since it can be super useful in communicating states, I'd like to be able to define a schema like:
status = TaskStatuswhere TaskStatus is an Enum defined as: