You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: days/021-024-quart-async/your_turn/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ async with aiohttp.ClientSession() as session:
52
52
53
53
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:
54
54
55
-
*`asyncio.get_event_loop()`
55
+
*`asyncio.new_event_loop()`
56
56
*`loop.run_until_complete()`
57
57
58
58
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