GetLatest#

Module: iqm.cpc.core.observation.observation_loading_rules

class iqm.cpc.core.observation.observation_loading_rules.GetLatest(storage=None)#

Bases: CacheableLoadRule

Get the latest observation.

Attributes

Methods

resolve_from_cache

Applies the rule for preloaded cache.

Parameters:

storage (StorageInterface | None)

resolve_from_cache(observation_name, cache_data, default_storage)#

Applies the rule for preloaded cache.

Parameters:
Return type:

ObservationDefinition | None

Inheritance

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