JobStatus#

class qiskit.providers.models.JobStatus(job_id, status, status_msg, **kwargs)[source]#

Bases: object

Model for JobStatus.

job_id#

backend job_id.

Type:

str

status#

status of the job.

Type:

str

status_msg#

status message.

Type:

str

Methods

classmethod from_dict(data)[source]#

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

Return a dictionary format representation of the JobStatus.

Returns:

The dictionary form of the JobStatus.

Return type:

dict