From 42fda2a9e62bc162e92a1ef2e9b156980371db88 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 18 May 2021 11:57:42 -0400 Subject: [PATCH] Drop old code --- piker/data/feed.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/piker/data/feed.py b/piker/data/feed.py index 5a78c740..012df910 100644 --- a/piker/data/feed.py +++ b/piker/data/feed.py @@ -506,23 +506,3 @@ async def open_feed( mod, ): 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