Skip to content

Workflow Status Enum for Autocompletion #404

@apoliakov

Description

@apoliakov

A user asks that we change

class WorkflowStatus:
    ...
    # The workflow status. Must be one of ENQUEUED, PENDING, SUCCESS, ERROR, CANCELLED, or RETRIES_EXCEEDED
    status: str

to

class WorkflowStatus:
    ...
    # The workflow status.
    status: Literal["ENQUEUED", "PENDING", "SUCCESS", "ERROR", "CANCELLED", "RETRIES_EXCEEDED"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions