Title: Offer progress indication · Issue #1830 · googleapis/google-cloud-python · GitHub
Open Graph Title: Offer progress indication · Issue #1830 · googleapis/google-cloud-python
X Title: Offer progress indication · Issue #1830 · googleapis/google-cloud-python
Description: I 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_filena...
Open Graph Description: I 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 minu...
X Description: I 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 ...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/1830
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Offer progress indication","articleBody":"I 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:\n\n``` python\n# Sit blocked \u0026 mute for N minutes\nbucket.blob(path).upload_from_filename(local_path)\n```\n\nOne pattern I saw recently from [docker-py](http://docker-py.readthedocs.io/en/stable/api/#pull) allows you to set an optional `stream` parameter, in which case the function returns an iterator with json strings:\n\n``` python\nprogress = docker_client.pull(repository=x, tag=y, stream=True)\n\nfor line in progress:\n update = json.loads(line)\n # do something with line - fields include current bytes, total bytes\n```\n\nA quick search indicates this could be related to #1077.\n","author":{"url":"https://github.com/kofalt","@type":"Person","name":"kofalt"},"datePublished":"2016-05-27T14:37:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/1830/google-cloud-python/issues/1830"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c8ec0377-6df1-9bbe-c1a0-7d27e3ccce46 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E50:3DE168:19976D:21FCB9:6A4D859D |
| html-safe-nonce | 2fe372529c67d9166b9d4d4051617fd1140bc2f6a377ac14032de36b114231c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTUwOjNERTE2ODoxOTk3NkQ6MjFGQ0I5OjZBNEQ4NTlEIiwidmlzaXRvcl9pZCI6Ijc5NzI3MzM3NjE2OTAxMDkzNDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 08fc00312736e4bd25e04660d545f87e0b6bab6b00a033bbc50b4d2d54818500 |
| hovercard-subject-tag | issue:157220994 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/1830/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dbeb836fe4e72616a33d85034f55b9dd851a53f7bc2a27231251660fa112e78b/googleapis/google-cloud-python/issues/1830 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dbeb836fe4e72616a33d85034f55b9dd851a53f7bc2a27231251660fa112e78b/googleapis/google-cloud-python/issues/1830 |
| og:image:alt | I 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 minu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kofalt |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6bf61c909482ec3072ef5d7a5a28f2a9d214788c9a44793eca1960048cb05ae |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6702a58b419a792226bd21ef0fb1bcb318bbcaa3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width