mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-02-14 14:28:40 +01:00
feat: serialized dict is ordered now
This commit is contained in:
@@ -191,7 +191,7 @@ class DataService(rpyc.Service, AbstractDataService):
|
|||||||
merged_set = derived_only_set | instance_dict
|
merged_set = derived_only_set | instance_dict
|
||||||
|
|
||||||
# Iterate over attributes, properties, class attributes, and methods
|
# Iterate over attributes, properties, class attributes, and methods
|
||||||
for key in merged_set:
|
for key in sorted(merged_set):
|
||||||
if key.startswith("_"):
|
if key.startswith("_"):
|
||||||
continue # Skip attributes that start with underscore
|
continue # Skip attributes that start with underscore
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user