qiskit.providers.models.JobStatus
class JobStatus(job_id, status, status_msg, **kwargs)
Model for JobStatus.
job_id
backend job_id.
Type
str
status
status of the job.
Type
str
status_msg
status message.
Type
str
__init__
__init__(job_id, status, status_msg, **kwargs)
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__ (job_id, status, status_msg, **kwargs) | Initialize self. |
from_dict (data) | Create a new JobStatus object from a dictionary. |
to_dict () | Return a dictionary format representation of the JobStatus. |
from_dict
classmethod from_dict(data)
Create a new JobStatus object from a dictionary.
Parameters
data (dict) – A dictionary representing the JobStatus to create. It will be in the same format as output by to_dict()
.
Returns
The JobStatus
from the input
dictionary.
Return type
qiskit.providers.model.JobStatus
to_dict
to_dict()
Return a dictionary format representation of the JobStatus.
Returns
The dictionary form of the JobStatus.
Return type
dict
Was this page helpful?
Report a bug or request content on GitHub.