GetQualityMetricSet#
Module: iqm.cpc.core.observation.observation_loading_rules
- class iqm.cpc.core.observation.observation_loading_rules.GetQualityMetricSet(calibration_set_id, storage=None)#
Bases:
CacheableLoadRuleGet the observations of a specific calibration set’s latest quality metric set.
Maps directly to
StorageInterface.get_calibration_set_quality_metric_set().- Parameters:
calibration_set_id (StrUUIDOrDefault) – ID of the calibration set whose latest quality metric set to get.
storage (StorageInterface | None)
Attributes
The calibration set id and the storage backend the rule loads the observations from.
The calibration set id the loading rule was initialized with.
Returns the full name including the attributes.
Methods
Applies the rule for preloaded cache.
- property attributes: tuple[str | UUID | Literal['default'], StorageInterface | None]#
The calibration set id and the storage backend the rule loads the observations from.
- property calibration_set_id: str | UUID | Literal['default']#
The calibration set id the loading rule was initialized with.
- resolve_from_cache(observation_name, cache_data, default_storage)#
Applies the rule for preloaded cache.
- Parameters:
observation_name (str)
cache_data (dict[StorageInterface | None, dict[str | UUID | Literal['default'], dict[str, ~iqm.station_control.interface.models.observation.ObservationData]]])
default_storage (StorageInterface | None)
- Return type:
ObservationData | None
Inheritance
