Description, motivation and use case
Device access descriptions should be removed from the configuration files. Their creation should be delegated to the backends.
Proposed solution
Replace all device access elements with simple strings, and use the backend get_device method instead of the current PyAML resolution and attachment mechanism.
Describe alternatives you've considered
Alternatives have already been discussed.
Example
In the configuration files, this kind of element should be replaced by a simple string:
- type: tango.pyaml.attribute
attribute: AN01-AR/EM-SX/SHF.01/strength
unit: 1/m**2
For example, it could become:
- AN01-AR/EM-SX/SHF.01/strength
Additional context
The implementation is already done for several elements, such as BPMs and the betatron tune monitor.
Magnets are the main remaining work.
Checklist
Description, motivation and use case
Device access descriptions should be removed from the configuration files. Their creation should be delegated to the backends.
Proposed solution
Replace all device access elements with simple strings, and use the backend
get_devicemethod instead of the current PyAML resolution and attachment mechanism.Describe alternatives you've considered
Alternatives have already been discussed.
Example
In the configuration files, this kind of element should be replaced by a simple string:
For example, it could become:
- AN01-AR/EM-SX/SHF.01/strengthAdditional context
The implementation is already done for several elements, such as BPMs and the betatron tune monitor.
Magnets are the main remaining work.
Checklist