Passthrough fqsns list directly to `.load_symbols()`

axis_sticky_api
Tyler Goodlet 2022-11-14 16:50:41 -05:00
parent 36a81cb2de
commit 58b42d629f
1 changed files with 2 additions and 9 deletions

View File

@ -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