mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-01-22 11:52:25 +01:00
fix: need to compare with serialized value (for enums)
This commit is contained in:
@@ -53,7 +53,7 @@ class DataServiceObserver(PropertyObserver):
|
|||||||
cached_value = cached_value_dict.get("value")
|
cached_value = cached_value_dict.get("value")
|
||||||
if (
|
if (
|
||||||
all(part[0] != "_" for part in full_access_path.split("."))
|
all(part[0] != "_" for part in full_access_path.split("."))
|
||||||
and cached_value != value
|
and cached_value != dump(value)["value"]
|
||||||
):
|
):
|
||||||
logger.debug("'%s' changed to '%s'", full_access_path, value)
|
logger.debug("'%s' changed to '%s'", full_access_path, value)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user