Esempio n. 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
Esempio n. 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