-
Notifications
You must be signed in to change notification settings - Fork 151
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
Blob.upload_from_file fails with non-seekable stream #1185
Comments
Apologies for the delay. Because uploads handle errors by rewinding to the last byte confirmed and sending the chunk over again, non-seekable streams are not supported by design. Special-casing non-seekable streams and disabling resumption of a resumable upload is possible and we will consider it as a feature request. In the meantime, I will update the API documentation in python-storage to make it clear that streams must be seekable for now. |
Would you like me to submit a separate issue labelled feature request or is this existing issue satisfactory? |
No need to make a separate request as the work is already tracked on our side. Thanks! |
Environment details
google-cloud-storage
version: 2.12.0Steps to reproduce
Blob.upload_from_file
, i.e.Popen.stdout
Code example
Stack trace
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
The text was updated successfully, but these errors were encountered: