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?
3 by nbrad | 0 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/KWiz4a5) - Django Rest Framework has no async support? https://ift.tt/ZeRYjGN - 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/Cco4Q8j - 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/E1JxywR - Ubiquitous “requests” library used in most docs examples, no async support https://ift.tt/Y7GXzoc - Top package for GitHub REST API, no async support https://ift.tt/xmiOAuy - …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
3 by nbrad | 0 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/KWiz4a5) - Django Rest Framework has no async support? https://ift.tt/ZeRYjGN - 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/Cco4Q8j - 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/E1JxywR - Ubiquitous “requests” library used in most docs examples, no async support https://ift.tt/Y7GXzoc - Top package for GitHub REST API, no async support https://ift.tt/xmiOAuy - …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