-
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
Support non-buffered streams for 'ResumableUpload'. #62
Comments
Per the Python docs for |
I've just (mistakenly, I suppose) raised this at googleapis/python-storage#1185. The last update in 2019 references interactive streams - this can at least be fixed with respect to non-interactive streams by calling |
I've made a branch with a commit for the synchronous client that works on my machine™ to write to cloud storage using google/python-storage, but doesn't have tests (editing the test to use a non-interactive non-seekable stream didn't seem to just work...). Could be a starting point for a more competent engineer to start: main...offsetcyan:google-resumable-media-python:resumable-non-interactive-streams |
Hi,
In
get_next_chunk()
method the stream is concluded to have ended on the read data being less thanchunk_size
rather than a empty chunk.This could be a cause of concern especially in case of dynamically generated data (where nothing is written to file and data is being directly uploaded to GCS)
The text was updated successfully, but these errors were encountered: