예제 #1
0
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
예제 #2
0
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