Hack client check for `ib` using flag

ib_subpkg
Tyler Goodlet 2022-06-06 16:28:08 -04:00
parent bf7397f031
commit 569674517f
1 changed files with 6 additions and 0 deletions

View File

@ -1248,6 +1248,7 @@ async def open_client_proxy(
@acm
async def get_client(
is_brokercheck: bool = False,
**kwargs,
) -> Client:
@ -1256,6 +1257,11 @@ async def get_client(
a method proxy to it.
'''
# hack for `piker brokercheck ib`..
if is_brokercheck:
yield Client
return
from .feed import open_data_client
# TODO: the IPC via portal relay layer for when this current