10 Commits (404aadf1d7180fac0d9c95100e17ad39a8a27267)

Author SHA1 Message Date
github-actions[bot] 404aadf1d7 🎨 Auto format 4 months ago
Yurii Motov 267f099ac8 Add test 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