mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 08:40:03 +02:00
Merge pull request #79 from tiqi-group/feat/improves_state_manager_debug_messages
fix: improves debug message for properties (load_state decorator)
This commit is contained in:
commit
a5fddf7e45
@ -150,10 +150,8 @@ class StateManager:
|
|||||||
value, value_type = nested_json_dict["value"], nested_json_dict["type"]
|
value, value_type = nested_json_dict["value"], nested_json_dict["type"]
|
||||||
class_attr_value_type = nested_class_dict.get("type", None)
|
class_attr_value_type = nested_class_dict.get("type", None)
|
||||||
|
|
||||||
if (
|
if class_attr_value_type == value_type:
|
||||||
class_attr_value_type == value_type
|
if self.__is_loadable_state_attribute(path):
|
||||||
and self.__is_loadable_state_attribute(path)
|
|
||||||
):
|
|
||||||
self.set_service_attribute_value_by_path(path, value)
|
self.set_service_attribute_value_by_path(path, value)
|
||||||
else:
|
else:
|
||||||
logger.info(
|
logger.info(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user