testudos.internal.helpers.object_tree
testudos.internal.helpers.object_tree
Breadth-first object tree walking helpers.
descriptor_children_lookup_ids
def descriptor_children_lookup_ids(descriptor: dict[str, Any]) -> list[str]Return candidate object ids for getChildren RPC calls, best-first.
fetch_descriptor_children
def fetch_descriptor_children( engine: Any, descriptor: dict[str, Any]) -> list[dict[str, Any]]Return direct child descriptors for a node.
Tries address first, then QML id / object name fallbacks. Objects that the backend cannot resolve (stale address, transient QML nodes, etc.) are skipped instead of aborting the tree walk.