adriangb / xpresso

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

Incorporate scope inference #101

Closed adriangb closed 1 year ago

adriangb commented 1 year ago

Taking advantage of https://github.com/adriangb/di/commit/b0cd0730a74c75fb4eb2a0992b283d45c3c0a6e4 to make things a bit less verbose and error prone.

codecov-commenter commented 1 year ago

Codecov Report

Merging #101 (98f5b19) into main (3e34996) will decrease coverage by 0.20%. The diff coverage is 63.63%.

:exclamation: Current head 98f5b19 differs from pull request most recent head b04e42e. Consider uploading reports for the commit b04e42e to get more accurate results

@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
- Coverage   98.53%   98.32%   -0.21%     
==========================================
  Files         126      127       +1     
  Lines        4220     4230      +10     
  Branches      595      598       +3     
==========================================
+ Hits         4158     4159       +1     
- Misses         30       37       +7     
- Partials       32       34       +2     
Impacted Files Coverage Δ
xpresso/applications.py 96.03% <ø> (ø)
xpresso/routing/operation.py 100.00% <ø> (ø)
xpresso/routing/websockets.py 92.59% <ø> (ø)
xpresso/_utils/scope_resolver.py 60.00% <60.00%> (ø)
xpresso/dependencies/_dependencies.py 100.00% <100.00%> (ø)
tests/test_docs/advanced/test_websockets.py 92.00% <0.00%> (-8.00%) :arrow_down:
tests/test_request_bodies/test_file.py 98.40% <0.00%> (-1.60%) :arrow_down:
tests/test_request_bodies/test_multipart.py 99.29% <0.00%> (-0.71%) :arrow_down: