mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-05 21:20:40 +02:00
dataservice: adapting serialize method
This commit is contained in:
parent
7fe2cc016d
commit
193775c609
@ -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
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user