iqm.iqm_client.models.Status#

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

Bases: str, Enum

Status of a job.

Attributes

RECEIVED

Job has been received but nothing has been done about it.

PROCESSING

ACCEPTED

Job has passed initial checks and will proceed to compilation.

PENDING_COMPILATION

Job has been queued for compilation.

PENDING_EXECUTION

Job has been compiled and is queued for execution.

COMPILED

Job has been compiled to a low-level representation.

READY

Job has been executed and results are available.

FAILED

Execution or compilation failed.

ABORTED

User caneceled the execution.

PENDING_DELETION

Job is set to be deleted.

DELETION_FAILED

Job was supposed to be deleted but deletion failed.

DELETED

Job deleted from the database.

UNKNOWN

Job is in a state not recognized by this version of the client.

Methods

_generate_next_value_(start, count, last_values)

Generate the next value when not given.

terminal_statuses()

Statuses from which the execution can't continue.

_new_member_(**kwargs)

Create and return a new object.

_value_repr_()

Return repr(self).

__format__(format_spec)

Return a formatted version of the string as described by format_spec.

__new__(value)

__repr__()

Return repr(self).

__str__()

Return str(self).

RECEIVED = 'received'#

Job has been received but nothing has been done about it.

ACCEPTED = 'accepted'#

Job has passed initial checks and will proceed to compilation.

PENDING_COMPILATION = 'pending compilation'#

Job has been queued for compilation.

PENDING_EXECUTION = 'pending execution'#

Job has been compiled and is queued for execution.

COMPILED = 'compiled'#

Job has been compiled to a low-level representation.

READY = 'ready'#

Job has been executed and results are available.

FAILED = 'failed'#

Execution or compilation failed.

ABORTED = 'aborted'#

User caneceled the execution.

PENDING_DELETION = 'pending deletion'#

Job is set to be deleted.

DELETION_FAILED = 'deletion failed'#

Job was supposed to be deleted but deletion failed.

DELETED = 'deleted'#

Job deleted from the database.

UNKNOWN = 'unknown'#

Job is in a state not recognized by this version of the client.

classmethod terminal_statuses() set[Status]#

Statuses from which the execution can’t continue.

Return type:

set[Status]