mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-02-08 11:48:41 +01:00
client: updates proxy._service_representation every time the client connects
This commit is contained in:
@@ -240,7 +240,6 @@ class Client:
|
|||||||
self.proxy, serialized_object=serialized_object
|
self.proxy, serialized_object=serialized_object
|
||||||
)
|
)
|
||||||
serialized_object["type"] = "DeviceConnection"
|
serialized_object["type"] = "DeviceConnection"
|
||||||
if self.proxy._service_representation is not None:
|
|
||||||
# need to use object.__setattr__ to not trigger an observer notification
|
# need to use object.__setattr__ to not trigger an observer notification
|
||||||
object.__setattr__(self.proxy, "_service_representation", serialized_object)
|
object.__setattr__(self.proxy, "_service_representation", serialized_object)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user