qiskit-documentation/docs/api/qiskit/0.29/qiskit.providers.models.Job...

87 lines
1.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: JobStatus (v0.29)
description: API reference for qiskit.providers.models.JobStatus in qiskit v0.29
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.providers.models.JobStatus
---
# JobStatus
<Class id="qiskit.providers.models.JobStatus" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.18/qiskit/providers/models/jobstatus.py" signature="JobStatus(job_id, status, status_msg, **kwargs)" modifiers="class">
Bases: `object`
Model for JobStatus.
### job\_id
<Attribute id="qiskit.providers.models.JobStatus.job_id">
backend job\_id.
**Type**
str
</Attribute>
### status
<Attribute id="qiskit.providers.models.JobStatus.status">
status of the job.
**Type**
str
</Attribute>
### status\_msg
<Attribute id="qiskit.providers.models.JobStatus.status_msg">
status message.
**Type**
str
</Attribute>
## Methods
<span id="qiskit-providers-models-jobstatus-from-dict" />
### from\_dict
<Function id="qiskit.providers.models.JobStatus.from_dict" signature="JobStatus.from_dict(data)" modifiers="classmethod">
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()`](qiskit.providers.models.JobStatus#to_dict "qiskit.providers.models.JobStatus.to_dict").
**Returns**
**The `JobStatus` from the input**
dictionary.
**Return type**
qiskit.providers.model.JobStatus
</Function>
<span id="qiskit-providers-models-jobstatus-to-dict" />
### to\_dict
<Function id="qiskit.providers.models.JobStatus.to_dict" signature="JobStatus.to_dict()">
Return a dictionary format representation of the JobStatus.
**Returns**
The dictionary form of the JobStatus.
**Return type**
dict
</Function>
</Class>