ObservationLite#
- class ObservationLite(*, dut_field, value, unit, uncertainty=None, invalid=False, observation_id, created_timestamp, modified_timestamp)#
Bases:
ObservationBaseThe lightweight version of the observation data.
This model can be used when not all observation data is needed, to speed up retrieval.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Module:
iqm.station_control.interface.models.observationAttributes
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Unique identifier of the observation.
Time when the object was created in the database.
Time when the object was last modified in the database.
dut_fieldName of the property the observation is about.
valueValue of the observation.
unitSI unit of the value.
uncertaintyUncertainty of the observation value.
invalidFlag indicating if the observation is invalid.
Methods
- Parameters:
- model_config: ClassVar[ConfigDict] = {'extra': 'ignore', 'ser_json_inf_nan': 'constants', 'validate_assignment': True, 'validate_default': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].