mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-22 09:10:01 +02:00
feat: serialized dict is ordered now
This commit is contained in:
parent
b385d728fc
commit
3a0c65aa89
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user