RuleType

RuleType#

Module: iqm.cpc.core.observation.observation_loading_rules

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

Bases: ABC

Base class for observation loading rules.

Parameters:

storage (StorageInterface | None) – The storage backend the rule loads observations from. Rules that don’t connect to a storage backend can leave this as None (default).

Attributes

attributes

Returns the attributes, including the storage backend.

Methods

property attributes: tuple[Any, ...]#

Returns the attributes, including the storage backend.

The storage backend is always the last attribute.

Inheritance

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