Login
From:
jacobtomlinson.dev
(Uncensored)
subscribe
Awaitable Objects and Async Context Managers in Python - Jacob Tomlinson
https://jacobtomlinson.dev/posts/2021/awaitable-objects-and-async-context-managers-in-python/
links
backlinks
Roast topics
Find topics
Find it!
Python objects are synchronous by default. When working with asyncio if we create an object the __init__ is a regular function and we cannot do any async work in here.