fermioniq.emulator_message.EmulatorMessage.model_fields#
- EmulatorMessage.model_fields: ClassVar[dict[str, FieldInfo]] = {'event_type': FieldInfo(annotation=Literal['LOG', 'STARTED', 'FINISHED', 'PING'], required=True), 'job_id': FieldInfo(annotation=str, required=True), 'job_output': FieldInfo(annotation=str, required=True), 'job_status_code': FieldInfo(annotation=Union[int, NoneType], required=False, default=-1), 'message_type': FieldInfo(annotation=Literal['event'], required=True), 'ts': FieldInfo(annotation=str, required=True)}#
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo].
This replaces Model.__fields__ from Pydantic V1.