exa.core.observation.observation_stash.get_loaded_stash_with#
- get_loaded_stash_with(load_rules, compare_db_and_local_time=None)#
Utility for loading all observations for a given dut from the DB and mapping them to their dut field paths.
Uses given observation rules to load the values from the DB.
- Parameters:
load_rules (list[RuleType]) – The load rules for loading the observations.
compare_db_and_local_time (bool | None) – Allow comparing local and database timestamps when fetching latest observations. If disabled, local observations will always have priority to database observations, and a warning will be shown in case a database observation may be more recent. Setting the flag explicitly to ´False´ Suppresses the warning. Disabled by default.
- Return type:
Returns: The observations mapped to their dut field paths.