Title: Chaining ACL grants on Storage does not work. · Issue #3181 · googleapis/google-cloud-python · GitHub
Open Graph Title: Chaining ACL grants on Storage does not work. · Issue #3181 · googleapis/google-cloud-python
X Title: Chaining ACL grants on Storage does not work. · Issue #3181 · googleapis/google-cloud-python
Description: So from what I can tell this doesn't work. Example: acl.all().grant_read().revoke_write() None of the grant methods return an object to chain to. See: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/486163e5378897961bc3cf...
Open Graph Description: So from what I can tell this doesn't work. Example: acl.all().grant_read().revoke_write() None of the grant methods return an object to chain to. See: https://github.com/GoogleCloudPlatform/google-...
X Description: So from what I can tell this doesn't work. Example: acl.all().grant_read().revoke_write() None of the grant methods return an object to chain to. See: https://github.com/GoogleCloudPlatform/goo...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/3181
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Chaining ACL grants on Storage does not work.","articleBody":"So from what I can tell [this](https://github.com/GoogleCloudPlatform/google-cloud-python/blob/ce6756fbe3633c74fd742567654565147628f4ba/storage/google/cloud/storage/acl.py#L56) doesn't work.\r\n\r\nExample:\r\n```python\r\nacl.all().grant_read().revoke_write()\r\n```\r\n\r\nNone of the grant methods return an object to chain to.\r\nSee: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/486163e5378897961bc3cf367062c8b10cf7ce3e/storage/google/cloud/storage/acl.py#L148-L170\r\n\r\nShould I just take this out of the docs?\r\n\r\n","author":{"url":"https://github.com/daspecster","@type":"Person","name":"daspecster"},"datePublished":"2017-03-21T22:21:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/3181/google-cloud-python/issues/3181"}
| 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:a0378e2d-8388-ea76-b30b-079490f6d041 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8914:1AB22E:99F93C:9D7D49:6A4DB26D |
| html-safe-nonce | d386b23174e4a2211a8d04146ea90c7705457a29ce7c76c91d10d31df8e4b869 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTE0OjFBQjIyRTo5OUY5M0M6OUQ3RDQ5OjZBNERCMjZEIiwidmlzaXRvcl9pZCI6IjcyOTYzNTAzNjc2MTE5OTA2MzciLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | f25f84c822fb6b70f2dda2afbe7af6e3efb4147db6d2f449d304a2287c5401fe |
| hovercard-subject-tag | issue:215896488 |
| 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/3181/issue_layout |
| twitter:image | https://opengraph.githubassets.com/36d91bef8c3469f950127ec391a91506b6ce5d41ec4944ba2b28726092dcde99/googleapis/google-cloud-python/issues/3181 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/36d91bef8c3469f950127ec391a91506b6ce5d41ec4944ba2b28726092dcde99/googleapis/google-cloud-python/issues/3181 |
| og:image:alt | So from what I can tell this doesn't work. Example: acl.all().grant_read().revoke_write() None of the grant methods return an object to chain to. See: https://github.com/GoogleCloudPlatform/google-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daspecster |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 32f7b614aca06e6bbd89842b1370df1328264f68 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width