def main_router(loop, virtual_smoothie_env, hardware): from opentrons.api.routers import MainRouter router = MainRouter(hardware, loop) router.wait_until = partial(wait_until, notifications=router.notifications, loop=loop) yield router
def main_router(loop, virtual_smoothie_env, hardware): router = MainRouter(hardware, loop) router.wait_until = partial( wait_until, notifications=router.notifications, loop=loop) yield router