fix: avoid validating checksums for partial responses#361
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
91f65af to
5c03176
Compare
|
Hi @simonbohnen, Please could you sign the CLA? |
It looks like I did for my work account (SimonBohnenQC). Is there a way to re-run the check? |
|
@cojenco Please could you take a look? |
I force rescanned the CLA and it's passing now. Our team will work on reviewing your PR. Thanks for your contribution! |
cojenco
left a comment
There was a problem hiding this comment.
Thanks @simonbohnen for the fix. I agree we want to skip checksum validations for partial content responses, as noted in our documentation.
In addition to the comments, could you add a unit test for this? Something alongside the tests here. Let me know if you'd like assistance on testing.
I'll add some tests next week👌🏼 |
691b93c to
6bf2cf8
Compare
cojenco
left a comment
There was a problem hiding this comment.
Thanks for adding tests @simonbohnen
Besides the lint error on unused ret_val in the tests, LGTM. Try running nox -s lint to check linting.
cojenco
left a comment
There was a problem hiding this comment.
LGTM, thanks again for your contribution!


Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #362 🦕