Title: gcloud.datastore.key.Key.parent untested, undocumented, useless · Issue #135 · googleapis/google-cloud-python · GitHub
Open Graph Title: gcloud.datastore.key.Key.parent untested, undocumented, useless · Issue #135 · googleapis/google-cloud-python
X Title: gcloud.datastore.key.Key.parent untested, undocumented, useless · Issue #135 · googleapis/google-cloud-python
Description: At the moment, it just raises NotImplementedError. I imagine that it is intended to return a new key whose path is the "parent path" of the current key. E.g.: >>> from gcloud.datastore.key import Key >>> PATH = [{'kind': 'parent', 'id': ...
Open Graph Description: At the moment, it just raises NotImplementedError. I imagine that it is intended to return a new key whose path is the "parent path" of the current key. E.g.: >>> from gcloud.datastore.key import K...
X Description: At the moment, it just raises NotImplementedError. I imagine that it is intended to return a new key whose path is the "parent path" of the current key. E.g.: >>> from gcloud.dat...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/135
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"gcloud.datastore.key.Key.parent untested, undocumented, useless","articleBody":"At the moment, it just raises `NotImplementedError`. I imagine that it is\nintended to return a new key whose path is the \"parent path\" of the\ncurrent key. E.g.:\n\n```\n\u003e\u003e\u003e from gcloud.datastore.key import Key\n\u003e\u003e\u003e PATH = [{'kind': 'parent', 'id': 123}, {'kind': 'child', 'id': 456}]\n\u003e\u003e\u003e child = Key(path=PATH)\n\u003e\u003e\u003e parent = key.parent()\n\u003e\u003e\u003e parent.path() == child.path[:-1]\nTrue\n```\n","author":{"url":"https://github.com/tseaver","@type":"Person","name":"tseaver"},"datePublished":"2014-09-16T16:58:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/135/google-cloud-python/issues/135"}
| 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:9b2688a3-d0c4-2861-8b02-c09c18232f6a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C52:F97BC:154687C:1CFA2DA:6A4D7824 |
| html-safe-nonce | 10173f8aa491058c061bce7bff7352c3f4ca01d7fd8cd46b77f4c911cb9cc173 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzUyOkY5N0JDOjE1NDY4N0M6MUNGQTJEQTo2QTRENzgyNCIsInZpc2l0b3JfaWQiOiI2NDE5NzA0MjA2Mjc4MzU5MDc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 743e95fe4fe07b74b3f86bfc9852b21cae3d52c3c7bdfdd6c484e11cbb890ed8 |
| hovercard-subject-tag | issue:42905746 |
| 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/135/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4594e7a087b7674d10b7b3f2346ea4f5f6ec6d3523ec076e9cf707dd83afae7d/googleapis/google-cloud-python/issues/135 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4594e7a087b7674d10b7b3f2346ea4f5f6ec6d3523ec076e9cf707dd83afae7d/googleapis/google-cloud-python/issues/135 |
| og:image:alt | At the moment, it just raises NotImplementedError. I imagine that it is intended to return a new key whose path is the "parent path" of the current key. E.g.: >>> from gcloud.datastore.key import K... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tseaver |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f8e15305e2ab58890ca84b830615e375f5df303cf471cafcba0c08272981be3 |
| 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 | 8608b0750fc35e283e5ec5b094bff942d7a0e197 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width