iqm.cpc.core.observation.observation_load_utils.get_latest_observation_set_data

iqm.cpc.core.observation.observation_load_utils.get_latest_observation_set_data#

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

Find 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:

Metadata of the found set. None if no set is found.

Return type:

ObservationSetData | None