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
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.
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 usingget_nested_dict_by_path
which does raise aSerializationPathError
. Same thing forStateManager.__update_attribute_by_path
.