simplified access to ophyd objects on the device server
Description
Until now, accessing ophyd objects on the device server (and thus also within ophyd objects) has to be through device_manager.devices.obj.<ophyd_obj>
. This differs from the client interface where the devices are typically accessed by device_manager.devices.<ophyd_obj>
. This MR adds the support for accessing the ophyd object the same way it is done on the client whilst keeping the support for the old access pattern.
Type of Change
- Added dedicated
__getattr__
method as a fallback option for accessing ophyd objects directly
Potential side effects
With the introduction of server-side namespace checks, we should be save merging these two namespaces.
Definition of Done
-
Documentation is up-to-date.