10 Commits (64feaec80244578bbdabe51e866bcfad1df8b708)

Author SHA1 Message Date
Sebastián Ramírez faee822574
🎨 Upgrade typing syntax for Python 3.10 (#14932) 4 months ago
Motov Yurii ed2512a5ec
🐛 Fix `on_startup` and `on_shutdown` parameters of `APIRouter` (#14873) 4 months ago
Sebastián Ramírez f9f7992604
♻️ Re-implement `on_event` in FastAPI for compatibility with the next Starlette, while keeping backwards compatibility (#14851) 4 months ago
Sebastián Ramírez 1c4fc96c91
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564) 6 months ago
Pastukhov Nikita 3a4ac24675
🐛 Ensure that `app.include_router` merges nested lifespans (#9630) 2 years ago
Sebastián Ramírez 05ca41cfd1
Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392) 3 years ago
Jordan Speicher cc9a73c3f8
Add support for `lifespan` async context managers (superseding `startup` and `shutdown` events) (#2944) 3 years ago
Samuel Colvin e9b189e9f2
Improve test debugging (#1222) 6 years ago
Sebastián Ramírez 0ac9b3ee5c
Re-export utils from Starlette (#1064) 6 years ago
Sebastián Ramírez 4e8080f290
📌 Upgrade Starlette version (#1057) 6 years ago