Commit 8cb44ee
docs: use FastAPI lifespan instead of startup event
Replace deprecated FastAPI startup events in tutorial examples
with lifespan context managers, keeping on_startup() as a helper
for tests and documentation consistency.1 parent ba5e97d commit 8cb44ee
181 files changed
Lines changed: 253 additions & 29417 deletions
File tree
- docs_src/tutorial/fastapi
- app_testing
- tutorial001_py310
- tutorial001_py39
- tutorial001
- delete
- limit_and_offset
- multiple_models
- read_one
- relationships
- response_model
- session_with_dependency
- simple_hero_api
- teams
- update
- docs
- about
- advanced
- css
- img
- create-db-and-table-with-db-browser
- create-db-and-table
- databases
- db-to-code
- features
- index
- logo-margin
- sponsors
- tutorial
- delete
- fastapi
- limit-and-offset
- multiple-models
- read-one
- relationships
- response-model
- simple-hero-api
- teams
- indexes
- insert
- many-to-many
- offset-and-limit
- relationships
- attributes
- select
- select
- update
- where
- js
- learn
- overrides
- resources
- tutorial
- connect
- fastapi
- many-to-many
- relationship-attributes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments