New ask Hacker News story: Ask HN: Is Python async/await some kind of joke?
Ask HN: Is Python async/await some kind of joke?
5 by nbrad | 3 comments on Hacker News.
Returning to Python full-stack development after a stint with Node, it seems like using async/await is not widely adopted enough in the Python ecosystem to actually use? In no particular order - Django doesn’t have an async ORM? ( https://ift.tt/exgTNFd ) - Django Rest Framework has no async support? https://ift.tt/sSTMoRu - SQLModel’s section on async support basically says “docs coming soon”? Yet this is designed to be used with FastAPI? Why would the docs not start with async/await? https://ift.tt/UPibqfn - SqlAlchemy/asyncpg => you can’t use it if you’re using PgBouncer (necessary most of the time with Postgres) in transaction mode? What?? https://ift.tt/w4ovBh0 - Ubiquitous “requests” library used in most docs examples, no async support https://ift.tt/SyoCB5b - Top package for GitHub REST API, no async support https://ift.tt/o502The - …on and on… What’s the point of my nice FastAPI server if nothing internally can use async/await? How is everyone else doing this? /rant
5 by nbrad | 3 comments on Hacker News.
Returning to Python full-stack development after a stint with Node, it seems like using async/await is not widely adopted enough in the Python ecosystem to actually use? In no particular order - Django doesn’t have an async ORM? ( https://ift.tt/exgTNFd ) - Django Rest Framework has no async support? https://ift.tt/sSTMoRu - SQLModel’s section on async support basically says “docs coming soon”? Yet this is designed to be used with FastAPI? Why would the docs not start with async/await? https://ift.tt/UPibqfn - SqlAlchemy/asyncpg => you can’t use it if you’re using PgBouncer (necessary most of the time with Postgres) in transaction mode? What?? https://ift.tt/w4ovBh0 - Ubiquitous “requests” library used in most docs examples, no async support https://ift.tt/SyoCB5b - Top package for GitHub REST API, no async support https://ift.tt/o502The - …on and on… What’s the point of my nice FastAPI server if nothing internally can use async/await? How is everyone else doing this? /rant
Comments
Post a Comment