Skip to content

Commit 6a61ff8

Browse files
authored
Change asyncio run style due to deprecation warning.
1 parent ab1772e commit 6a61ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

days/021-024-quart-async/your_turn/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async with aiohttp.ClientSession() as session:
5252

5353
Finally, you'll need to do step 3 above, run this in an async event loop. Update the `main()` method using two features built into Python to make this work:
5454

55-
* `asyncio.get_event_loop()`
55+
* `asyncio.new_event_loop()`
5656
* `loop.run_until_complete()`
5757

5858
Run your async version. Sadly, it will run the same speed as before because although it's async, we are waiting to do the next step and doing nothing really in parallel.

0 commit comments

Comments
 (0)