DB: generalize obj_2_property method for properties and attributes

Closes #716 (closed)

We had 3 almost identical implementations of method, converting user data into DbData: for DeviceProxy.put_property, Database.generic_put_property and Database.generic_put_attr_pipe_property. And one was deviating in the numerical values serialization. Now squashed into one method

These methods are until some extend tested, but this still raises question of test suite for DB methods....

Related: https://gitlab.maxiv.lu.se/sardana-org/sardana/-/merge_requests/7

Edited by Anton Joubert

Merge request reports

Loading