iqm.iqm_client.models.Metadata#
- class iqm.iqm_client.models.Metadata(*, calibration_set_id=None, request, cocos_version=None, timestamps=None)#
Bases:
BaseModel
Metadata describing 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.
ID of the calibration set used
copy of the original RunRequest sent to the server
CoCoS version used to execute the job
Timestamps of execution progress
Methods
- Parameters:
- 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]] = {'calibration_set_id': FieldInfo(annotation=Union[UUID, NoneType], required=False, default=None), 'cocos_version': FieldInfo(annotation=Union[str, NoneType], required=False, default=None), 'request': FieldInfo(annotation=RunRequest, required=True), 'timestamps': FieldInfo(annotation=Union[dict[str, 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.
- request: RunRequest#
copy of the original RunRequest sent to the server