Offer progress indication
See original GitHub issueI might just be thick, but when searching through the web and documentation, I could not find a way to get gcloud to report upload / transfer progress to the callee:
# Sit blocked & mute for N minutes
bucket.blob(path).upload_from_filename(local_path)
One pattern I saw recently from docker-py allows you to set an optional stream parameter, in which case the function returns an iterator with json strings:
progress = docker_client.pull(repository=x, tag=y, stream=True)
for line in progress:
update = json.loads(line)
# do something with line - fields include current bytes, total bytes
A quick search indicates this could be related to #1077.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Progress indicators - Status - Human Interface Guidelines
Be as accurate as possible when reporting advancement in a determinate progress indicator. Consider evening out the pace of advancement to help people...
Read more >The Power of The Progress Bar as a Usability Feature
What Is a Progress Bar? Progress bars are visual representations of how much progress a site visitor has made toward accomplishing a specific...
Read more >The ultimate guide to tracking your progress toward a credit ...
American Express no longer offers a way to track your progress toward earning your sign-up bonus. Thankfully, Amex has a user-friendly chat ...
Read more >Deal Progression Indicators - Salesloft Help Center
Deal Progression Indicators ; Recent changes to the deal amount; Close date changes ; The new amount value · Who made the amount...
Read more >Best Practices For Animated Progress Indicators
A wait-animation progress indicator is the most common form of providing a ... Thus, you should provide feedback to the user about what...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Has there been any development on this, or perhaps you can offer an alternative? we have a very large upload (Gb) and would need to monitor and track the progress of the upload. Is there anyway to do that?
Same!