Skip to content

Support for Enumerations #3

@Atreyagaurav

Description

@Atreyagaurav

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions