Skip to content

JobStatus

Bases: Enum

Enum representing the status of a job.

Source code in q3as/api.py
class JobStatus(Enum):
    """
    Enum representing the status of a job.
    """

    STARTED = 0
    "The job is started."
    PAUSED = 1
    "The job is paused."
    SUCCESS = 2
    "The job finished successfully."
    ERROR = 3
    "The job finished with an error."

ERROR = 3 class-attribute instance-attribute

The job finished with an error.

PAUSED = 1 class-attribute instance-attribute

The job is paused.

STARTED = 0 class-attribute instance-attribute

The job is started.

SUCCESS = 2 class-attribute instance-attribute

The job finished successfully.