aiopg

Using asyncio nested_future() and gather() with nested loops

Using asyncio nested_future() and gather() with nested loops Question: While trying to execute some async functions in parallel, I am always getting an error, which I would like to understand. Running asyncio on Python 3.5.1, I’m combining aiohttp through the ClientSession and aiopg (asynchronous psycopg2) calls. The main idea is that I have a loop …

Total answers: 2