iqm.cpc.core.observation.observation_load_utils.populate_from_configs

iqm.cpc.core.observation.observation_load_utils.populate_from_configs#

iqm.cpc.core.observation.observation_load_utils.populate_from_configs(items, dut_label)#

Populate the settings values from multiple ExperimentConfigurations into a dict.

The resulting dict maps the contents of each of the configs to ExperimentConfiguration.id of that configuration. The contents for a particular configuration are observation paths mapped to the corresponding values.

Parameters:
  • items (list[tuple[tuple[ExperimentConfiguration, ...], StorageInterface | None]]) – list of (tuple[ExperimentConfiguration, ...], storage) to populate settings values from. NOTE: The storage is not used in this function, but is included to match the signature of the other cache loading functions.

  • dut_label (str) – DUT label NOTE: not used in this function, but is included to match the signature of the other cache loading functions.

Returns:

The dict containing the populated observation values.

Return type:

dict[UUID, dict[str, Any]]