Yaml2Archiving Action
Action
- class yaml2archiving.v1.action.Actions
- yaml2archiving.v1.action.get_actions(prev_attrs: Dict[str, AttributeConfig], next_attrs: Dict[str, AttributeConfig], use_old_format: bool = False) Actions[source]
Takes “previous” and “next” attribute configurations, then produces a list of actions needed to go from the first situation to the second. I.e. additions, removals and changes.
- yaml2archiving.v1.action.get_archiving_settings(manager: tango.DeviceProxy)[source]
Return the current “set attribute” values for the manager as a string. These are the parameters filled in before running “AddAttribute”. Can be useful for debugging issues.
- yaml2archiving.v1.action.get_safe_params(attr: str, old: AttributeConfig, new: AttributeConfig) AttributeConfig[source]
Do some checks on the given params and return a ‘safe’ version