Facepalm^2: pass through kwargs

pause_feeds_on_sym_switch
Tyler Goodlet 2021-08-30 18:04:19 -04:00
parent cae7f486e4
commit bbcce0cab6
1 changed files with 2 additions and 2 deletions

View File

@ -554,8 +554,7 @@ async def maybe_open_feed(
symbols: Sequence[str], symbols: Sequence[str],
loglevel: Optional[str] = None, loglevel: Optional[str] = None,
tick_throttle: Optional[float] = None, # Hz **kwargs,
shielded_stream: bool = False,
) -> (Feed, ReceiveChannel[dict[str, Any]]): ) -> (Feed, ReceiveChannel[dict[str, Any]]):
'''Maybe open a data to a ``brokerd`` daemon only if there is no '''Maybe open a data to a ``brokerd`` daemon only if there is no
@ -571,6 +570,7 @@ async def maybe_open_feed(
brokername, brokername,
[sym], [sym],
loglevel=loglevel, loglevel=loglevel,
**kwargs,
), ),
) as (cache_hit, feed): ) as (cache_hit, feed):