PrivateStorageio / ZKAPAuthorizer

a Tahoe-LAFS storage-system plugin which authorizes storage operations based on privacy-respecting tokens
10 stars 7 forks source link

restrict the types accepted by the other log_call helpers #439

Closed exarkun closed 2 years ago

exarkun commented 2 years ago

Follow-up on #434 - there are two more logging decorators that can be improved similarly.

codecov[bot] commented 2 years ago

Codecov Report

Merging #439 (af8f548) into main (52e2296) will increase coverage by 0.03%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #439      +/-   ##
==========================================
+ Coverage   95.22%   95.25%   +0.03%     
==========================================
  Files          62       62              
  Lines        8013     8014       +1     
  Branches     1035     1035              
==========================================
+ Hits         7630     7634       +4     
+ Misses        277      274       -3     
  Partials      106      106              
Impacted Files Coverage Δ
src/_zkapauthorizer/_types.py 85.71% <100.00%> (ø)
src/_zkapauthorizer/eliot.py 97.77% <100.00%> (+0.05%) :arrow_up:
src/_zkapauthorizer/tahoe.py 92.15% <0.00%> (-0.66%) :arrow_down:
src/_zkapauthorizer/tests/test_client_resource.py 98.30% <0.00%> (+0.21%) :arrow_up:
...rc/_zkapauthorizer/tests/test_lease_maintenance.py 98.50% <0.00%> (+2.00%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more