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.
Glossary: Building APIs with FastAPI
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.