SemanticDiff fastapi
✨ Add support for `lifespan` async context managers (superseding `startup` and `shutdown` events)
#2944
Merged

✨ Add support for `lifespan` async context managers (superseding `startup` and `shutdown` events) #2944

uSpike
uSpike Add lifespan context argument
bb2ec92d
uSpike Add tests for lifespan context and refactor router event tests
4620732d
uSpike Add lifespan docs
8c33c941
github-actions
uSpike Fix lifespan typing
ecd6d27d
uSpike Fix lifespan doc highlight
c7364052
uSpike Fix event tests repeated code
bc1f5fac
uSpike Fix import sorting
12e924d7
codecov
github-actions
nesb1
meshantz
Kludex
meshantz
uSpike Merge branch 'master' of github.com:tiangolo/fastapi into add-lifespa…
c78ba44c
meshantz update lifespan to be an async context manager
c3a3d250
uSpike
uSpike Fix formatting
8b1dfd54
uSpike Fix type of lifespan to AsyncContextManager[Any]
48fdb769
uSpike Fix docs for lifespan asynccontextmanager
92897b3c
uSpike
mortbauer
BilalAlpaslan
BilalAlpaslan approved these changes on 2022-03-27
yezz123
yezz123 approved these changes on 2022-10-16
tiangolo tiangolo added investigate
uSpike Add lifespan context argument
6f9ebeac
uSpike Add tests for lifespan context and refactor router event tests
edef8c0b
uSpike Add lifespan docs
76968ca1
uSpike Fix lifespan typing
0dbcb353
uSpike Fix lifespan doc highlight
2712fb68
uSpike Fix event tests repeated code
d15df2de
uSpike Fix import sorting
96656454
meshantz update lifespan to be an async context manager
628aa71b
uSpike Fix formatting
f612d74e
uSpike Fix type of lifespan to AsyncContextManager[Any]
f13274c5
uSpike Fix docs for lifespan asynccontextmanager
0eed6545
JonathanPlasse Use @asynccontextmanager for lifespan for test
81591ba9
JonathanPlasse Use FastAPI instead of Starlette for lifespan
d60f9b87
JonathanPlasse Replace lifespan AsyncIterator by AsyncGenerator
2c054638
tiangolo 🔀 Merge master
5ae65471
tiangolo Merge branch 'master' into add-lifespan-context-v3
0ef7cfac
github-actions
tiangolo 🔀 Merge PR #5503 from @JonathanPlasse with updated types
8b6dd1aa
github-actions
tiangolo 📝 Update docs for Lifespan events
c842bdd3
tiangolo ✅ Add tests for new lifespan event docs
6adb5543
tiangolo tiangolo changed the title Add lifespan context option ✨ Add support for `lifespan` async context managers (superseding `startup` and `shutdown` events) 1 year ago
tiangolo tiangolo removed investigate
tiangolo tiangolo added feature
tiangolo
tiangolo tiangolo merged cc9a73c3 into master 1 year ago
uSpike uSpike deleted the add-lifespan-context branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone