Title: Storage: there is no way to remove labels from a bucket · Issue #3711 · googleapis/google-cloud-python · GitHub
Open Graph Title: Storage: there is no way to remove labels from a bucket · Issue #3711 · googleapis/google-cloud-python
X Title: Storage: there is no way to remove labels from a bucket · Issue #3711 · googleapis/google-cloud-python
Description: Attempting to remove a label from a bucket does not appear to work: # {'example': 'label'} labels = bucket.labels if 'example' in labels: del labels['example'] # {} bucket.labels = labels bucket.patch() # Still {'example': 'label'} pprin...
Open Graph Description: Attempting to remove a label from a bucket does not appear to work: # {'example': 'label'} labels = bucket.labels if 'example' in labels: del labels['example'] # {} bucket.labels = labels bucket.pa...
X Description: Attempting to remove a label from a bucket does not appear to work: # {'example': 'label'} labels = bucket.labels if 'example' in labels: del labels['example'] # {} ...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/3711
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Storage: there is no way to remove labels from a bucket","articleBody":"Attempting to remove a label from a bucket does not appear to work:\r\n\r\n```python\r\n # {'example': 'label'}\r\n labels = bucket.labels\r\n\r\n if 'example' in labels:\r\n del labels['example']\r\n\r\n # {}\r\n bucket.labels = labels\r\n\r\n bucket.patch()\r\n\r\n # Still {'example': 'label'}\r\n pprint.pprint(bucket.labels)\r\n```","author":{"url":"https://github.com/theacodes","@type":"Person","name":"theacodes"},"datePublished":"2017-08-01T18:10:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/3711/google-cloud-python/issues/3711"}
| 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:ecef2529-8e53-9ecd-bacf-0b7312bb2402 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B2E4:1CB5C6:CFCAE0:11A59D4:6A4D595C |
| html-safe-nonce | d90391559f51a6079a49524e7d3eae99553faada7b44c79642474636be38147f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkU0OjFDQjVDNjpDRkNBRTA6MTFBNTlENDo2QTRENTk1QyIsInZpc2l0b3JfaWQiOiI0OTMzNzgyNjI1ODA4Mzc0MTA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2e1d0aaab8c4a5d0adc3abc357220c8296cc0781e06a753cf12b56a705ef0e6b |
| hovercard-subject-tag | issue:247154924 |
| 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/3711/issue_layout |
| twitter:image | https://opengraph.githubassets.com/36e39d6e04ac210c6175e2c32c6d81eb9a026249470e03bb36951b047182d214/googleapis/google-cloud-python/issues/3711 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/36e39d6e04ac210c6175e2c32c6d81eb9a026249470e03bb36951b047182d214/googleapis/google-cloud-python/issues/3711 |
| og:image:alt | Attempting to remove a label from a bucket does not appear to work: # {'example': 'label'} labels = bucket.labels if 'example' in labels: del labels['example'] # {} bucket.labels = labels bucket.pa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | theacodes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| 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 | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width