JobStatus#

Module: iqm.station_control.interface.models.jobs_new

class JobStatus(value)#

Bases: StrEnum

Job statuses in IQMServer.

Attributes

WAITING

Job is in a queue, waiting to be executed.

PROCESSING

Job is being executed.

COMPLETED

Job has completed successfully.

FAILED

Job has failed.

CANCELLED

Job has been cancelled by the user or the admin.

Methods

terminal_statuses

Statuses from which the execution no longer continues.

WAITING = 'waiting'#

Job is in a queue, waiting to be executed.

PROCESSING = 'processing'#

Job is being executed.

COMPLETED = 'completed'#

Job has completed successfully.

FAILED = 'failed'#

Job has failed.

CANCELLED = 'cancelled'#

Job has been cancelled by the user or the admin.

classmethod terminal_statuses()#

Statuses from which the execution no longer continues.

Once a job reaches a terminal status, its status will no longer change.

Return type:

frozenset[JobStatus]

Inheritance

Inheritance diagram of iqm.station_control.interface.models.jobs_new.JobStatus