From 48da729364ad5bcd9e94a38aab305cf398fe3204 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 17 Dec 2020 09:27:18 -0500 Subject: [PATCH] Use .shield() meth name from tractor --- piker/fsp/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/fsp/__init__.py b/piker/fsp/__init__.py index ec169c42..c798bf28 100644 --- a/piker/fsp/__init__.py +++ b/piker/fsp/__init__.py @@ -113,7 +113,7 @@ async def cascade( stream, ): # task cancellation won't kill the channel - async with stream.shield(): + with stream.shield(): async for quotes in stream: for symbol, quotes in quotes.items(): if symbol == sym: