From 193775c609598d18f76d1bf6419cb79e6b60029d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mose=20M=C3=BCller?= Date: Wed, 2 Aug 2023 12:06:19 +0200 Subject: [PATCH] dataservice: adapting serialize method --- src/pyDataInterface/data_service/data_service.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pyDataInterface/data_service/data_service.py b/src/pyDataInterface/data_service/data_service.py index b1c20ed..67a47d4 100644 --- a/src/pyDataInterface/data_service/data_service.py +++ b/src/pyDataInterface/data_service/data_service.py @@ -473,7 +473,7 @@ class DataService(rpyc.Service): if isinstance(value, DataService): result[key] = { "type": type(value).__name__, - "value": value.serialize(prefix=key), + "value": value.serialize(), "readonly": False, "doc": inspect.getdoc(value), } @@ -487,7 +487,6 @@ class DataService(rpyc.Service): if isinstance(item, DataService) else item, "readonly": False, - "id": id(item), } for item in value ],