Yaml2Archiving Archiver

Archiver

Archiver Module

yaml2archiving.v1.archiver.get_current_attributes(archiver: str, delay: float = 0, db: tango.Database | None = None, get_device_proxy=tango.DeviceProxy) dict[str, AttributeConfig][source]

Return the attributes currently configured, and their configs. Also return any attributes that could not be checked (e.g. device not running)

yaml2archiving.v1.archiver.parse_archiver_attribute(line: str) tuple[str, AttributeConfig][source]

Parse out parameters stored in the archiver AttributeList property. AFAIK there is only strategy; all other config stored in event settings of the device.

yaml2archiving.v1.archiver.update_or_remove(d1, d2: AttributeConfig)[source]

Update a dict, but remove Nones and 0.