FastAPI has become one of the most popular web frameworks in Python, but do you know how it really works internally?
In this talk, we’ll go through each FastAPI component, and understand when they run. We’ll also understand how FastAPI interacts with Pydantic, Starlette and Uvicorn!
FastAPI has become one of the most popular web frameworks in Python, but how does it work internally?
In this talk, we’ll go through each FastAPI component, and understand when and how they run. We’ll see how the dependency injection runs, what are the benefits, and limitations. We’ll also see how the routing takes place, how the middleware stack runs, how the OpenAPI schema is generated, the differences between async and non async endpoint functions, and how the WebSockets fit in all this. Furthermore, we’ll also see how the dependencies Pydantic and Starlette help FastAPI on its job.
At the end of this talk, the attendee will understand what’s underneath of this very popular package.