Avoid import cycle in clearing client

master
Tyler Goodlet 2023-05-18 01:25:04 -04:00
parent b2bf0b06f2
commit 97b2b25256
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,6 @@ from tractor.trionics import broadcast_receiver
from ._util import ( from ._util import (
log, # sub-sys logger log, # sub-sys logger
) )
from ..accounting import unpack_fqme
from ..data.types import Struct from ..data.types import Struct
from ..service import maybe_open_emsd from ..service import maybe_open_emsd
from ._messages import ( from ._messages import (
@ -238,6 +237,8 @@ async def open_ems(
broker control client-API. broker control client-API.
''' '''
# TODO: prolly hand in the `MktPair` instance directly here as well!
from piker.accounting import unpack_fqme
broker, mktep, venue, suffix = unpack_fqme(fqme) broker, mktep, venue, suffix = unpack_fqme(fqme)
async with maybe_open_emsd( async with maybe_open_emsd(