TaskStatus#

class TaskStatus(*args, **kwargs)#

Bases: object

Status of the task.

Allowed enum values:

  • _UNKNOWN

  • _REDACTED

  • QUEUED: Status indicating that the task is queued for execution.

  • RUNNING: Status indicating that the task is currently being executed.

  • CANCELING: Status indicating that the task is marked for cancellation.

  • SUCCEEDED: Status indicating that the task has been executed successfully.

  • FAILED: Status indicating that the task has failed.

  • CANCELED: Status indicating that the task has been cancelled.

  • SUSPENDED: Status indicating that the task is currently suspended.

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model