GetQualityMetricSet#

Module: iqm.cpc.core.observation.observation_loading_rules

class iqm.cpc.core.observation.observation_loading_rules.GetQualityMetricSet(calibration_set_id, storage=None)#

Bases: CacheableLoadRule

Get 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

attributes

The calibration set id and the storage backend the rule loads the observations from.

calibration_set_id

The calibration set id the loading rule was initialized with.

full_name

Returns the full name including the attributes.

Methods

resolve_from_cache

Applies the rule for preloaded cache.

property full_name: str#

Returns the full name including the attributes.

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:
Return type:

ObservationData | None

Inheritance

Inheritance diagram of iqm.cpc.core.observation.observation_loading_rules.GetQualityMetricSet