-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 🦕