From b768eb19ec7e907270bded389722d117609e03c7 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 14 Nov 2022 16:50:41 -0500 Subject: [PATCH] Passthrough fqsns list directly to `.load_symbols()` --- piker/ui/_app.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/piker/ui/_app.py b/piker/ui/_app.py index 23a9d2ed..2743103e 100644 --- a/piker/ui/_app.py +++ b/piker/ui/_app.py @@ -118,17 +118,10 @@ async def _async_main( # godwidget.hbox.addWidget(search) godwidget.search = search - symbols: list[str] = [] - - for sym in syms: - symbol, _, provider = sym.rpartition('.') - symbols.append(symbol) - # this internally starts a ``display_symbol_data()`` task above order_mode_ready = await godwidget.load_symbols( - provider, - symbols, - loglevel + fqsns=syms, + loglevel=loglevel, ) # spin up a search engine for the local cached symbol set