FastAPI and async SQLAlchemy 2.0 with pytest done right

Posted on Sun 19 March 2023 in FastAPI


In this post we're going to see how to use FastAPI together with SQLAlchemy 2.0 new async features, and how to configure pytest to run async database tests. I've built this project using Python 3.11, so it might not work on earlier versions. However, you should be …

Continue reading