Use call_with_passes in the rest of the client; handle another error mode
If all passes were good but there simply were not enough of them, don't retry. Replace the tricky _rref property with a decorator. This guarantees _get_rref is evaluated for each function call before we do anything with pass generation.
Showing
- src/_zkapauthorizer/_storage_client.py 82 additions, 44 deletionssrc/_zkapauthorizer/_storage_client.py
- src/_zkapauthorizer/tests/test_storage_client.py 39 additions, 0 deletionssrc/_zkapauthorizer/tests/test_storage_client.py
- src/_zkapauthorizer/tests/test_storage_protocol.py 1 addition, 1 deletionsrc/_zkapauthorizer/tests/test_storage_protocol.py
Loading
Please register or sign in to comment