This commit is contained in:
Mose Müller 2024-03-27 17:50:51 +01:00
parent 9d7099f116
commit 4eddf4b980
2 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,6 @@ class Client:
time.sleep(0.01)
def setup_events(self) -> None:
# TODO: subscribe to update event and update the cache of the proxy class.
@self.sio.event
def class_structure(data: SerializedObject) -> None:
self.proxy = self.proxy_class_factory.create_proxy(data)

View File

@ -223,6 +223,7 @@ class StateManager:
return dump(value_object)["value"] != current_value
# TODO: can we remove this? We can replace this with the loads function, no?
def __convert_value_if_needed(
self, value: Any, current_value_dict: SerializedObject
) -> Any: