mirror of
https://github.com/rio-labs/rio.git
synced 2026-02-10 23:59:10 -06:00
make components from dialogs with unspecified parent findable by unit tests
This commit is contained in:
@@ -191,6 +191,10 @@ class BaseClient(abc.ABC):
|
||||
key: Key | None = None,
|
||||
) -> t.Iterator[C]:
|
||||
to_do = [self.root_component]
|
||||
to_do.extend(
|
||||
dialog._root_component
|
||||
for dialog in self.session._fundamental_root_component._owned_dialogs_.values()
|
||||
)
|
||||
seen = set[rio.Component]()
|
||||
|
||||
while to_do:
|
||||
|
||||
Reference in New Issue
Block a user