Skip to content

Glossary: Building APIs with FastAPI

Session

Also written: sessions, SessionDep

One conversation with the database: you add and change objects, then commit to save them together. Each request gets its own through a `yield` dependency.

Where the book teaches it

Related terms

commitEngineyield dependency