JobStatus#

Module: iqm.iqm_server_client.models

class iqm.iqm_server_client.models.JobStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

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 can't continue.

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() frozenset[JobStatus]#

Statuses from which the execution can’t continue.

Return type:

frozenset[JobStatus]

Inheritance

Inheritance diagram of iqm.iqm_server_client.models.JobStatus