Talk

FastAPI Internals - How does it work?

venerdì 24 maggio

15:25 - 15:55
StanzaLasagna
LinguaInglese
Livello audienceIntermediate
Elevator pitch

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!

Descrizione

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.

TagsAsyncIO, APIs, FastAPI, Starlette
Participant

Marcelo Trylesinski

Marcelo Trylesinski is a Brazilian software engineer currently living in the Netherlands.

He is involved in the FastAPI community for some years already, and at the moment is working at Pydantic. He is also maintaining Starlette, and Uvicorn.