requests-cache / aiohttp-client-cache

An async persistent cache for aiohttp requests
MIT License
122 stars 22 forks source link

Improve backend public types #155

Closed layday closed 1 year ago

layday commented 1 year ago

Type checkers expect function params to be fully typed in strict mode. Pyright is particular in also expecting kwargs to be annotated.

codecov[bot] commented 1 year ago

Codecov Report

Merging #155 (44c3531) into main (7647800) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #155   +/-   ##
=======================================
  Coverage   95.15%   95.16%           
=======================================
  Files          11       11           
  Lines        1012     1013    +1     
  Branches      180      180           
=======================================
+ Hits          963      964    +1     
  Misses         34       34           
  Partials       15       15           
Impacted Files Coverage Δ
aiohttp_client_cache/backends/base.py 96.64% <100.00%> (+0.01%) :arrow_up:
aiohttp_client_cache/backends/dynamodb.py 96.73% <100.00%> (ø)
aiohttp_client_cache/backends/filesystem.py 97.05% <100.00%> (ø)
aiohttp_client_cache/backends/mongodb.py 96.07% <100.00%> (ø)
aiohttp_client_cache/backends/redis.py 98.33% <100.00%> (ø)
aiohttp_client_cache/backends/sqlite.py 99.10% <100.00%> (ø)