iqm.iqm_client.models.Status#
- class iqm.iqm_client.models.Status(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#
-
Status of a job.
Attributes
Job has been received but nothing has been done about it.
Job is being validated.
PROCESSING
Job has passed initial checks and will proceed to compilation.
The calibration is being fetched for the job.
Job has been fetched for the job.
The job is being compiled.
Job has been compiled to a low-level representation.
Metadata about the sweep is being saved to the database.
Metadata has been successfully saved.
Job has been compiled and is queued for execution.
The job has begun execution on hardware.
The job has completed execution on hardware.
The job has finished executing and is pending post-processing.
The job results is being post-processed.
The job has been successfully post processed.
Job has been executed and results are available.
Execution or compilation failed.
User cancelled the execution.
Job is set to be deleted.
Job was supposed to be deleted but deletion failed.
Job deleted from the database.
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.
_missing_
(value)This is a backwards compatibility fix for resonance integration.
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.
- VALIDATION_STARTED = 'validation_started'#
Job is being validated.
- VALIDATION_ENDED = 'validation_ended'#
Job has passed initial checks and will proceed to compilation.
- FETCH_CALIBRATION_STARTED = 'fetch_calibration_started'#
The calibration is being fetched for the job.
- FETCH_CALIBRATION_ENDED = 'fetch_calibration_ended'#
Job has been fetched for the job.
- COMPILATION_STARTED = 'compilation_started'#
The job is being compiled.
- COMPILATION_ENDED = 'compilation_ended'#
Job has been compiled to a low-level representation.
- SAVE_SWEEP_METADATA_STARTED = 'save_sweep_metadata_started'#
Metadata about the sweep is being saved to the database.
- SAVE_SWEEP_METADATA_ENDED = 'save_sweep_metadata_ended'#
Metadata has been successfully saved.
- PENDING_EXECUTION = 'pending_execution'#
Job has been compiled and is queued for execution.
- EXECUTION_STARTED = 'execution_started'#
The job has begun execution on hardware.
- EXECUTION_ENDED = 'execution_ended'#
The job has completed execution on hardware.
- POST_PROCESSING_PENDING = 'post_processing_pending'#
The job has finished executing and is pending post-processing.
- POST_PROCESSING_STARTED = 'post_processing_started'#
The job results is being post-processed.
- POST_PROCESSING_ENDED = 'post_processing_ended'#
The job has been successfully post processed.
- READY = 'ready'#
Job has been executed and results are available.
- FAILED = 'failed'#
Execution or compilation failed.
- ABORTED = 'aborted'#
User cancelled 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.