observation_loading_rules

observation_loading_rules#

Full path: iqm.cpc.core.observation.observation_loading_rules

Loading rule interfaces and base classes.

Module Attributes

RuleCacheDataType

Represents cached data for a single CacheableLoadRule subclass.

LoadFunction

Function for loading RuleCache data for a single subclass of CacheableLoadRule.

DEFAULTS_FROM_YML_SOURCE

Source for settings that get their values from the EXA configuration YML.

Functions

resolve_rules(observation_name, rules, ...)

Resolves the rules related to loading and fall back one by one.

Classes

CacheableLoadRule

Interface for an observation loading rule for which the observation data can be preloaded to a cache.

Fail

Terminates rule application chain on error.

FromExperimentConfiguration

Load observations from ExperimentConfiguration.

GetCalibrationSet

Get the observations of a specific calibration set, or the current default one.

GetDefaultCalibrationSet

Get the observations for the default calibration set.

GetLatest

Get the latest observation.

GetLatestCharacterizationSet

Get the observations for the latest finalized characterization set.

GetLatestForTags

Get the latest observation for a given list of tags.

GetObservationSet

Get the observations for a given observation set.

GetQualityMetricSet

Get the observations of a specific calibration set's latest quality metric set.

LatestFromStash

Load rule that gets the observation from the local stash.

RuleCache

Stores cached observation values for the CacheableLoadingRule subclasses.

RuleType

Base class for observation loading rules.

Inheritance

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