Krukov / cashews

Cache with async power
MIT License
371 stars 22 forks source link

fix: use early ttl with early cache in etag middleware #217

Closed Krukov closed 2 months ago

Krukov commented 2 months ago

fix https://github.com/Krukov/cashews/issues/202

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 70.00000% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 93.78%. Comparing base (bf31f06) to head (ed3b749).

Files Patch % Lines
cashews/contrib/fastapi.py 70.00% 2 Missing and 4 partials :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #217 +/- ## ========================================== - Coverage 94.08% 93.78% -0.30% ========================================== Files 54 54 Lines 3483 3493 +10 Branches 602 605 +3 ========================================== - Hits 3277 3276 -1 - Misses 101 108 +7 - Partials 105 109 +4 ``` | [Flag](https://app.codecov.io/gh/Krukov/cashews/pull/217/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Krukov+D) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/Krukov/cashews/pull/217/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Krukov+D) | `93.67% <65.00%> (-0.30%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Krukov+D#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.