Title: Remove __iter__ and __contains__ from Connection in storage · Issue #590 · googleapis/google-cloud-python · GitHub
Open Graph Title: Remove __iter__ and __contains__ from Connection in storage · Issue #590 · googleapis/google-cloud-python
X Title: Remove __iter__ and __contains__ from Connection in storage · Issue #590 · googleapis/google-cloud-python
Description: @tseaver WDYT? This is part of a movement towards making Connection more of a background / low-level / raw interface (like it is for datastore). What's more for bucket in connection.get_all_buckets(): ... seems much more clear than for b...
Open Graph Description: @tseaver WDYT? This is part of a movement towards making Connection more of a background / low-level / raw interface (like it is for datastore). What's more for bucket in connection.get_all_buckets...
X Description: @tseaver WDYT? This is part of a movement towards making Connection more of a background / low-level / raw interface (like it is for datastore). What's more for bucket in connection.get_all_buc...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/590
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove __iter__ and __contains__ from Connection in storage","articleBody":"@tseaver WDYT?\n\nThis is part of a movement towards making `Connection` more of a background / low-level / raw interface (like it is for datastore).\n\nWhat's more\n\n``` python\nfor bucket in connection.get_all_buckets():\n ...\n```\n\nseems much more clear than\n\n``` python\nfor bucket in connection:\n ...\n```\n\nWe could potentially make up for `__contains__` by adding a `Bucket.exists` method / property.\n","author":{"url":"https://github.com/dhermes","@type":"Person","name":"dhermes"},"datePublished":"2015-02-01T01:01:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/590/google-cloud-python/issues/590"}
| 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:8d514fce-1d3e-23c3-ae29-e186fca02534 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8D8:3BAD6D:52F78:6FEBA:6A4D7DDD |
| html-safe-nonce | f20692bf23dca419f599500d85964dacbad055629b2e85c86c68a8c3a4d59c2d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEQ4OjNCQUQ2RDo1MkY3ODo2RkVCQTo2QTREN0RERCIsInZpc2l0b3JfaWQiOiIzMzEwNjA3NjQzMDQzNTI4MTU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 73a4460935dac9b5076c3911dfb07a36ab7e8783f2dcbdee3106565556f67b48 |
| hovercard-subject-tag | issue:56146878 |
| 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/590/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d7781f0dcd5054195e48c3a377c84159810588093c1f498ce3c607890cdd6682/googleapis/google-cloud-python/issues/590 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d7781f0dcd5054195e48c3a377c84159810588093c1f498ce3c607890cdd6682/googleapis/google-cloud-python/issues/590 |
| og:image:alt | @tseaver WDYT? This is part of a movement towards making Connection more of a background / low-level / raw interface (like it is for datastore). What's more for bucket in connection.get_all_buckets... |
| 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 | 7f8e15305e2ab58890ca84b830615e375f5df303cf471cafcba0c08272981be3 |
| 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 | 8608b0750fc35e283e5ec5b094bff942d7a0e197 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width