iqm.iqm_client.models.RunStatus#
- class iqm.iqm_client.models.RunStatus(*, status, message=None, warnings=None)#
- Bases: - BaseModel- Status of a circuit execution job. - Attributes - A dictionary of computed field names and their corresponding ComputedFieldInfo objects. - Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict]. - Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects. - current status of the job, in - {'pending compilation', 'pending execution', 'ready', 'failed', 'aborted'}- if the job failed, an error message - list of warning messages - Methods - from_dict(inp)- Parses the result from a dict. - model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}#
- A dictionary of computed field names and their corresponding ComputedFieldInfo objects. 
 - model_config: ClassVar[ConfigDict] = {}#
- Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict]. 
 - model_fields: ClassVar[Dict[str, FieldInfo]] = {'message': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'status': FieldInfo(annotation=Status, required=True), 'warnings': FieldInfo(annotation=Union[list[str], NoneType], required=False, default=None)}#
- Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects. - This replaces Model.__fields__ from Pydantic V1. 
 
