youknowone / ring

Python cache interface with clean API and built-in memcache & redis + asyncio support.
http://ring-cache.readthedocs.io/en/latest/
Other
480 stars 37 forks source link

Add contextvar support #140

Closed rscarrera27 closed 5 years ago

rscarrera27 commented 5 years ago

Add support for contextvar.ContextVar

Fixes: #135

youknowone commented 5 years ago

Thanks for your contribution. Would you add add a unittest for this code?

codecov[bot] commented 5 years ago

Codecov Report

Merging #140 into master will decrease coverage by 1.58%. The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #140      +/-   ##
=========================================
- Coverage   97.98%   96.4%   -1.58%     
=========================================
  Files          14      14              
  Lines        1387    1390       +3     
=========================================
- Hits         1359    1340      -19     
- Misses         28      50      +22
codecov[bot] commented 5 years ago

Codecov Report

Merging #140 into master will increase coverage by 0.01%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #140      +/-   ##
==========================================
+ Coverage   97.98%   97.99%   +0.01%     
==========================================
  Files          14       14              
  Lines        1387     1392       +5     
==========================================
+ Hits         1359     1364       +5     
  Misses         28       28
youknowone commented 5 years ago

Thanks!