iqm.cpc.core.observation.observation_load_utils.get_latest_observation_set_observations

iqm.cpc.core.observation.observation_load_utils.get_latest_observation_set_observations#

iqm.cpc.core.observation.observation_load_utils.get_latest_observation_set_observations(set_type, finalized=True, *, storage, dut_label)#

Loads all observations related to the latest finalized observation set of given type.

Parameters:
  • set_type (ObservationSetType) – Type of set to look for.

  • finalized (bool) – If True, only finalized sets are considered.

  • storage (StorageInterface | None) – The storage backend to query.

  • dut_label (str) – DUT label of the device being used.

Returns:

Dict of observations in the found set. If no set is found, the dict is empty.

Return type:

dict[str, ObservationData]