`binance`: adjust earch to expect `Pair`s

pre_overruns_ctxcancelled
Tyler Goodlet 2023-03-26 18:15:54 -04:00
parent 3c32c9b3c9
commit f234483a1f
1 changed files with 4 additions and 4 deletions

View File

@ -636,7 +636,7 @@ async def open_symbol_search(
score_cutoff=50,
)
# repack in dict form
await stream.send(
{item[0]['symbol']: item[0]
for item in matches}
)
await stream.send({
item[0].symbol: item[0]
for item in matches
})