Title: DISCUSSION: Do we need ACL lazy loading? · Issue #752 · googleapis/google-cloud-python · GitHub
Open Graph Title: DISCUSSION: Do we need ACL lazy loading? · Issue #752 · googleapis/google-cloud-python
X Title: DISCUSSION: Do we need ACL lazy loading? · Issue #752 · googleapis/google-cloud-python
Description: Is there a good reason for the lazy loading behavior, e.g. if self._acl is None: self._acl = ObjectACL(self) This doesn't make any requests and just initializes a very lightweight object. I move to just create these in the constructor.
Open Graph Description: Is there a good reason for the lazy loading behavior, e.g. if self._acl is None: self._acl = ObjectACL(self) This doesn't make any requests and just initializes a very lightweight object. I move to...
X Description: Is there a good reason for the lazy loading behavior, e.g. if self._acl is None: self._acl = ObjectACL(self) This doesn't make any requests and just initializes a very lightweight object. I mov...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/752
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DISCUSSION: Do we need ACL lazy loading?","articleBody":"Is there a good reason for the [lazy](https://github.com/GoogleCloudPlatform/gcloud-python/blob/d51f29f39832d52a24b2b5dfdb4f882bf623f374/gcloud/storage/blob.py#L95-L99) loading [behavior](https://github.com/GoogleCloudPlatform/gcloud-python/blob/d51f29f39832d52a24b2b5dfdb4f882bf623f374/gcloud/storage/bucket.py#L127-L139), e.g.\n\n``` python\n if self._acl is None:\n self._acl = ObjectACL(self)\n```\n\nThis doesn't make any requests and just initializes a very lightweight object.\n\nI move to just create these in the constructor.\n","author":{"url":"https://github.com/dhermes","@type":"Person","name":"dhermes"},"datePublished":"2015-03-23T21:44:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/752/google-cloud-python/issues/752"}
| 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:106bc01d-cae8-f6af-859f-356b11d5633a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AEAC:390894:8330C6:B40EDF:6A4D49E8 |
| html-safe-nonce | b6052a5d34d4e10236a49bdfe7216851119b93353f2fffd8b20366391122bdad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUFDOjM5MDg5NDo4MzMwQzY6QjQwRURGOjZBNEQ0OUU4IiwidmlzaXRvcl9pZCI6IjkzODQ2MjUyMzYwMTc5OTY1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 441e0c4cfae374438480464656a329ff5c446c9d4e193ea349690d1a026170b4 |
| hovercard-subject-tag | issue:63839705 |
| 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/752/issue_layout |
| twitter:image | https://opengraph.githubassets.com/56130932b43260fa1a122244a04a4491a0e6422304a9ea3da1f335146e3395ca/googleapis/google-cloud-python/issues/752 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/56130932b43260fa1a122244a04a4491a0e6422304a9ea3da1f335146e3395ca/googleapis/google-cloud-python/issues/752 |
| og:image:alt | Is there a good reason for the lazy loading behavior, e.g. if self._acl is None: self._acl = ObjectACL(self) This doesn't make any requests and just initializes a very lightweight object. I move to... |
| 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 | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| 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 | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width