mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-20 08:20:02 +02:00
fix: sio_callback creates correct full_access_path now
This commit is contained in:
parent
0cd3a7e8a8
commit
69328d6f68
@ -306,7 +306,7 @@ class Server:
|
|||||||
# > File "/usr/lib64/python3.11/json/encoder.py", line 180, in default
|
# > File "/usr/lib64/python3.11/json/encoder.py", line 180, in default
|
||||||
# > raise TypeError(f'Object of type {o.__class__.__name__} '
|
# > raise TypeError(f'Object of type {o.__class__.__name__} '
|
||||||
# > TypeError: Object of type list is not JSON serializable
|
# > TypeError: Object of type list is not JSON serializable
|
||||||
full_access_path = ".".join([*parent_path.split(".")[:-1], name])
|
full_access_path = ".".join([*parent_path.split(".")[1:], name])
|
||||||
cached_value_dict = deepcopy(
|
cached_value_dict = deepcopy(
|
||||||
get_nested_dict_by_path(self._state_manager.cache, full_access_path)
|
get_nested_dict_by_path(self._state_manager.cache, full_access_path)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user