Title: DISCUSSION: Implement Key.__eq__ and Entity.__eq__ · Issue #533 · googleapis/google-cloud-python · GitHub
Open Graph Title: DISCUSSION: Implement Key.__eq__ and Entity.__eq__ · Issue #533 · googleapis/google-cloud-python
X Title: DISCUSSION: Implement Key.__eq__ and Entity.__eq__ · Issue #533 · googleapis/google-cloud-python
Description: Currently comparison must be done in an ad-hoc way: assert dict(arya_entity.items()) == {'name': 'Arya', 'family': 'Stark'}) FWIW __eq__ is not something that should really be needed outside of the Key, and even then not so much. NOTE: T...
Open Graph Description: Currently comparison must be done in an ad-hoc way: assert dict(arya_entity.items()) == {'name': 'Arya', 'family': 'Stark'}) FWIW __eq__ is not something that should really be needed outside of the...
X Description: Currently comparison must be done in an ad-hoc way: assert dict(arya_entity.items()) == {'name': 'Arya', 'family': 'Stark'}) FWIW __eq__ is not something that should...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/533
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DISCUSSION: Implement Key.__eq__ and Entity.__eq__","articleBody":"Currently comparison must be done in an ad-hoc way:\n\n``` python\nassert dict(arya_entity.items()) == {'name': 'Arya', 'family': 'Stark'})\n```\n\nFWIW `__eq__` is not something that should really be needed outside of the `Key`, and even then not so much.\n\n**NOTE**: This was a small part of #336\n","author":{"url":"https://github.com/dhermes","@type":"Person","name":"dhermes"},"datePublished":"2015-01-12T20:32:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/533/google-cloud-python/issues/533"}
| 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:011e17dd-7bb5-63d0-2669-35211bcc6f7e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFFC:62240:809D7E:BC5CCA:6A4E1751 |
| html-safe-nonce | 58160eadeacef818f3f6971ed60c63ff9c8a2a4f215ecc63564e96bdee94cceb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkZDOjYyMjQwOjgwOUQ3RTpCQzVDQ0E6NkE0RTE3NTEiLCJ2aXNpdG9yX2lkIjoiMjg0MTEyNTg5MzE5OTIzODk5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6b41de2c6f9e65457baa4d477438072449d88867a20f26fb57e0610e0b658fbc |
| hovercard-subject-tag | issue:54102932 |
| 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/533/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ecdd82f993bd9f9b93ba87a9f2439e412ab2cf1ab9fc5a3c61c224d4775ae6a7/googleapis/google-cloud-python/issues/533 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ecdd82f993bd9f9b93ba87a9f2439e412ab2cf1ab9fc5a3c61c224d4775ae6a7/googleapis/google-cloud-python/issues/533 |
| og:image:alt | Currently comparison must be done in an ad-hoc way: assert dict(arya_entity.items()) == {'name': 'Arya', 'family': 'Stark'}) FWIW __eq__ is not something that should really be needed outside of the... |
| 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 | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| 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 | ea9187571e3edc5f2780f750631138669441ca50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width