mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-04 04:40:39 +02:00
fixes cache update of task status change
This commit is contained in:
parent
2d6c681690
commit
9d3264de1f
@ -430,7 +430,7 @@ def set_nested_value_by_path(
|
||||
|
||||
if next_level_serialized_object["type"] == "method": # state change of task
|
||||
next_level_serialized_object["value"] = (
|
||||
value.name if TaskStatus.RUNNING else None
|
||||
"RUNNING" if isinstance(value, TaskStatus) else None
|
||||
)
|
||||
else:
|
||||
serialized_value = dump(value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user