tiqi-group / pydase

A flexible and robust Python library for creating, managing, and interacting with data services, with built-in support for web and RPC servers, and customizable features for diverse use cases.
MIT License
0 stars 1 forks source link

Adding keys to dictionary through `pydase.Client` #124

Open mosmuell opened 2 months ago

mosmuell commented 2 months ago

Is your feature request related to a problem? Please describe. Adding key-value pairs to dictionaries through the pydase client is not possible at the moment. This might not be too relevant at the moment, though.

Describe the solution you'd like The StateManager.set_service_attribute_value_by_path would have to be updated to take dicts into account. It is using get_nested_dict_by_path which does raise a SerializationPathError. Same thing for StateManager.__update_attribute_by_path.