adriangb / xpresso

A composable Python ASGI web framework
https://xpresso-api.dev/
MIT License
178 stars 4 forks source link

feat/doc!: document router lifespans, fix bug resulting in duplicate lifespan execution and remove App.state #45

Closed adriangb closed 2 years ago

codecov-commenter commented 2 years ago

Codecov Report

Merging #45 (2b31fd1) into main (4ff5620) will decrease coverage by 0.05%. The diff coverage is 96.15%.

@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
- Coverage   97.45%   97.40%   -0.06%     
==========================================
  Files         180      181       +1     
  Lines        5703     5704       +1     
  Branches      673      673              
==========================================
- Hits         5558     5556       -2     
- Misses         98      101       +3     
  Partials       47       47              
Impacted Files Coverage Δ
xpresso/applications.py 96.15% <80.00%> (-0.15%) :arrow_down:
tests/test_dependency_injection.py 100.00% <100.00%> (ø)
.../test_docs/tutorial/lifespans/test_tutorial_001.py 100.00% <100.00%> (ø)
.../test_docs/tutorial/lifespans/test_tutorial_002.py 100.00% <100.00%> (ø)
xpresso/binders/_body/extractors/discriminated.py 70.73% <0.00%> (-2.44%) :arrow_down:
xpresso/binders/_body/extractors/file.py 96.00% <0.00%> (-2.00%) :arrow_down:
xpresso/binders/_body/extractors/form.py 95.71% <0.00%> (-1.43%) :arrow_down: