Title: Make Bucket/Blob/_PropertyMixin have "future" functionality · Issue #775 · googleapis/google-cloud-python · GitHub
Open Graph Title: Make Bucket/Blob/_PropertyMixin have "future" functionality · Issue #775 · googleapis/google-cloud-python
X Title: Make Bucket/Blob/_PropertyMixin have "future" functionality · Issue #775 · googleapis/google-cloud-python
Description: This is relating to a discussion @tseaver and I just had about enabling GET in batches. Something like with storage.Batch(): bucket = storage.get_bucket('foo') print bucket.cors blob = storage.Blob('bar', bucket=bucket, eager=True) # See...
Open Graph Description: This is relating to a discussion @tseaver and I just had about enabling GET in batches. Something like with storage.Batch(): bucket = storage.get_bucket('foo') print bucket.cors blob = storage.Blob...
X Description: This is relating to a discussion @tseaver and I just had about enabling GET in batches. Something like with storage.Batch(): bucket = storage.get_bucket('foo') print bucket.cors blob = stor...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/775
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make Bucket/Blob/_PropertyMixin have \"future\" functionality","articleBody":"This is relating to a discussion @tseaver and I just had about enabling `GET` in batches.\n\nSomething like\n\n``` python\nwith storage.Batch():\n bucket = storage.get_bucket('foo')\n print bucket.cors\n blob = storage.Blob('bar', bucket=bucket, eager=True) # See #761 about eager\n```\n\nis not possible because the actual `GET` which retrieves the `bucket` happens on the `__exit__` of the batch.\n\n---\n\nWe could allow `_PropertyMixin` objects to act as a future by setting a property (e.g. `bucket._is_future = True`) and then making getters and setters fail when `_is_future == True`.\n","author":{"url":"https://github.com/dhermes","@type":"Person","name":"dhermes"},"datePublished":"2015-03-30T19:22:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/775/google-cloud-python/issues/775"}
| 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:dd71ea10-9904-ab36-0a0e-01e08f34ce55 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 929A:8709C:116BA3F:1783E0D:6A4D8D9F |
| html-safe-nonce | 741bff0ed0253f0ee4828dfbff84f970c1d0c94f2fc5a64d68b7062d1b33f6c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjlBOjg3MDlDOjExNkJBM0Y6MTc4M0UwRDo2QTREOEQ5RiIsInZpc2l0b3JfaWQiOiIzMjY0NDQ3OTAyOTM2NTY3MTk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b23322e88dbff3613e94db5d750779395df9b1ad25a938c0e27d17adf430f2f1 |
| hovercard-subject-tag | issue:65282335 |
| 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/775/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4478bd5b32f5a063e433ce836c1e0956d8623a6588704f364a5887aa5d4ee6cf/googleapis/google-cloud-python/issues/775 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4478bd5b32f5a063e433ce836c1e0956d8623a6588704f364a5887aa5d4ee6cf/googleapis/google-cloud-python/issues/775 |
| og:image:alt | This is relating to a discussion @tseaver and I just had about enabling GET in batches. Something like with storage.Batch(): bucket = storage.get_bucket('foo') print bucket.cors blob = storage.Blob... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dhermes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9f8758a3953dfe943439713a6fa4f90d542a3431f10e861ca03dd7f39009f320 |
| 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 | bffd5484f01713a661b03469b77678f72b6574ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width