Closed miracle2k closed 6 years ago
async def run_some_asyncio(): await asyncio.sleep(1) async def async_main(*args): async with trio_asyncio.open_loop() as loop: await trio_asyncio.run_coroutine(run_some_asyncio()) trio.run(async_main)
File "/Users/michael/.local/share/virtualenvs/ySqLnqEA/lib/python3.6/site-packages/trio_asyncio/loop.py", line 190, in run_coroutine return await loop.run_coroutine(fut, scope=scope) TypeError: run_coroutine() got an unexpected keyword argument 'scope'