Drop old code

symbol_search
Tyler Goodlet 2021-05-18 11:57:42 -04:00
parent e77a51f16e
commit 42fda2a9e6
1 changed files with 0 additions and 20 deletions

View File

@ -506,23 +506,3 @@ async def open_feed(
mod, mod,
): ):
yield feed yield feed
# async with feed._brokerd_portal.open_context(
# mod.open_symbol_search
# ) as (ctx, cache):
# # shield here since we expect the search rpc to be
# # cancellable by the user as they see fit.
# async with ctx.open_stream() as stream:
# async def search(text: str) -> Dict[str, Any]:
# await stream.send(text)
# return await stream.receive()
# async with _search.register_symbol_search(
# provider_name=brokername,
# search_routine=search,
# pause_period=mod._search_conf.get('pause_period'),
# ):
# yield feed