Title: Issue · GitHub
Open Graph Title: Issue · googleapis/google-cloud-python
X Title: Issue · googleapis/google-cloud-python
Description: Google Cloud Client Libraries for Python. Contribute to googleapis/google-cloud-python development by creating an account on GitHub.
Open Graph Description: Google Cloud Client Libraries for Python. Contribute to googleapis/google-cloud-python development by creating an account on GitHub.
X Description: Google Cloud Client Libraries for Python. Contribute to googleapis/google-cloud-python development by creating an account on GitHub.
Opengraph URL: https://github.com/googleapis/google-cloud-python
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DISCUSSION: Remove Entity.reload()","articleBody":"@jgeewax We never use [`Entity.reload()`](https://github.com/GoogleCloudPlatform/gcloud-python/blob/ced11fbb7e3ba353b25d57b8ba0652954b7bc6a5/gcloud/datastore/entity.py#L203) within the library and it doesn't seem to be particularly useful and can even be replaced in a one liner:\n\n``` python\nentity.update(entity.key.get())\n```\n\nWhat did you have in mind when you implemented it?\n\n---\n\nTo give some more context, we have been discussing / making a case for removing `Entity` and just using a `dict` (as in `gcloud-node`) since most of the logic lives elsewhere. `Entity.save()` can be moved to `gcloud.datastore.__init__` and so `reload()` is the only remaining blocker.\n","author":{"url":"https://github.com/dhermes","@type":"Person","name":"dhermes"},"datePublished":"2015-01-06T19:16:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/490/google-cloud-python/issues/490"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:8d386a1a-2890-7b52-aa45-1869e7af2bea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA92:31A9ED:115FD86:1810D1A:6A4DF60F |
| html-safe-nonce | c953227a0a8dd9366962ed433092677ca367751533d642057a027ab4529ddd54 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTkyOjMxQTlFRDoxMTVGRDg2OjE4MTBEMUE6NkE0REY2MEYiLCJ2aXNpdG9yX2lkIjoiMTI3NDAwOTg5NzMyMzU5MTE4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3d61e3ad8134106ec431e8c9b67115aed5e3b19ff3e9a1b5dc0a1f38b1784192 |
| hovercard-subject-tag | repository:16316451 |
| 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/googleapis/google-cloud-python/issues/490 |
| twitter:image | https://opengraph.githubassets.com/fd00792ba12c990cebe160160adf00b19459f5ecaed0e90c1f01309e0bf29e51/googleapis/google-cloud-python |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fd00792ba12c990cebe160160adf00b19459f5ecaed0e90c1f01309e0bf29e51/googleapis/google-cloud-python |
| og:image:alt | Google Cloud Client Libraries for Python. Contribute to googleapis/google-cloud-python development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-cache |
| 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 | f4bb89367ca678f057d79b1abc45d6675b1bd5b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width