-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Expose 'upload' class from 'upload_from_file()' #1077
Comments
This is somewhat tied in with #935. Thanks for filing, we hope to be able to get on this soon-ish. |
Adding |
👍 To returning the |
What about the users who don't care about messing with it? the current implementation serves them, at the expense of the OP's request. If we don't do the actual streaming inside |
Maybe there is a middleground? A flag that will disable it? Or a simple wrapper that they can consume, like a query iterator or otherwise. |
Hello, As part of trying to get things under control (as well as to empower us to provide better customer service in the future), I am declaring a "bankruptcy" of sorts on many of the old issues, especially those likely to have been addressed or made obsolete by more recent updates. My goal is to close stale issues whose relevance or solution is no longer immediately evident, and which appear to be of lower importance. I believe in good faith that this is one of those issues, but I am scanning quickly and may occasionally be wrong. If this is an issue of high importance, please comment here and we will reconsider. If this is an issue whose solution is trivial, please consider providing a pull request. Thank you! |
Please reopen this. This has not been tackled many years later. What is the mechanism for exposing upload progress? |
When uploading a large file with the
Blob.upload_from_file()
method it would be extremely convenient to be able to access properties of the upload class that is generated in this method to view upload progress, as well as assert the other properties of that wrapped class.Something as simple as this:
The text was updated successfully, but these errors were encountered: