The author of FastApi wrote an ORM too:
https://github.com/tiangolo/sqlmodel
I have not yet used it, but I think that’s the best approach now
https://github.com/tiangolo/sqlmodel
I have not yet used it, but I think that’s the best approach now
SQLModel 100 issues, 54 open PRs
FastAPI 903 issues, 448(!!) open PRs
I recently had to choose between Flask and FastAPI for a fresh project and went with Flask in the end, partly due to long term maintenance concerns with FastAPI.