fix: silence expected errors for routine operations on BlobReader by andrewsg · Pull Request #400 · googleapis/python-storage
requested a review
from a team
google-cla
bot
added
the
cla: yes
label
Mar 29, 2021label
Mar 29, 2021cojenco pushed a commit to cojenco/python-storage that referenced this pull request
Oct 13, 2021…ogleapis#400) Two fixes for BlobReader: - Checksums are not supported for BlobReader's chunked downloads, so set checksum=None to silence log warnings (and add a note to the docstring explaining this). - In Python, read() on files at EOF should return an empty result, but not raise an error. Stop BlobReader from emitting RequestRangeNotSatisfiable errors at EOF. Fixes: googleapis#399
cojenco pushed a commit to cojenco/python-storage that referenced this pull request
Oct 13, 2021…ogleapis#400) Two fixes for BlobReader: - Checksums are not supported for BlobReader's chunked downloads, so set checksum=None to silence log warnings (and add a note to the docstring explaining this). - In Python, read() on files at EOF should return an empty result, but not raise an error. Stop BlobReader from emitting RequestRangeNotSatisfiable errors at EOF. Fixes: googleapis#399
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters