Passthrough fqsns list directly to `.load_symbols()`

epoch_index_backup
Tyler Goodlet 2022-11-14 16:50:41 -05:00
parent c3e5162c30
commit b768eb19ec
1 changed files with 2 additions and 9 deletions

View File

@ -118,17 +118,10 @@ async def _async_main(
# godwidget.hbox.addWidget(search) # godwidget.hbox.addWidget(search)
godwidget.search = 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 # this internally starts a ``display_symbol_data()`` task above
order_mode_ready = await godwidget.load_symbols( order_mode_ready = await godwidget.load_symbols(
provider, fqsns=syms,
symbols, loglevel=loglevel,
loglevel
) )
# spin up a search engine for the local cached symbol set # spin up a search engine for the local cached symbol set