Title: Provide a method to convert ndb Key's urlsafe format to/from datastore.Key · Issue #3293 · googleapis/google-cloud-python · GitHub
Open Graph Title: Provide a method to convert ndb Key's urlsafe format to/from datastore.Key · Issue #3293 · googleapis/google-cloud-python
X Title: Provide a method to convert ndb Key's urlsafe format to/from datastore.Key · Issue #3293 · googleapis/google-cloud-python
Description: In GAE standard, ndb has the concept of the urlsafe string version of a Key. e.g. url_string = sandy_key.urlsafe() produces a result like agVoZWxsb3IPCxIHQWNjb3VudBiZiwIM. However, I cannot find a way to use this format with the google.c...
Open Graph Description: In GAE standard, ndb has the concept of the urlsafe string version of a Key. e.g. url_string = sandy_key.urlsafe() produces a result like agVoZWxsb3IPCxIHQWNjb3VudBiZiwIM. However, I cannot find a ...
X Description: In GAE standard, ndb has the concept of the urlsafe string version of a Key. e.g. url_string = sandy_key.urlsafe() produces a result like agVoZWxsb3IPCxIHQWNjb3VudBiZiwIM. However, I cannot find a ...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/3293
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provide a method to convert ndb Key's urlsafe format to/from datastore.Key","articleBody":"In GAE standard, ndb has the concept of the urlsafe string version of a Key. \r\ne.g. `url_string = sandy_key.urlsafe()` produces a result like `agVoZWxsb3IPCxIHQWNjb3VudBiZiwIM`.\r\n\r\nHowever, I cannot find a way to use this format with the google.cloud.datastore library for code running outside GAE standard. Please add a method to the Key class to create urlsafe strings and a method to generate Keys from urlsafe strings. Alternatively, provide some documentation on how to decode/encode them with the existing library.\r\n\r\nNB, the [console support page](https://support.google.com/cloud/answer/6365503?hl=en) says \"The encoding method is available in any Cloud Datastore client library.\"\r\n","author":{"url":"https://github.com/ndenny","@type":"Person","name":"ndenny"},"datePublished":"2017-04-12T17:41:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":35},"url":"https://github.com/3293/google-cloud-python/issues/3293"}
| 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:5cbc5dd8-26b3-1bf5-276a-98dbc0c80974 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C974:5F79D:4A5B36:640F7A:6A4DA0A1 |
| html-safe-nonce | 8f63ac27564f217f14c98fd0ca2550f9eb2b4af5115bf240e0fd617e1b0476e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTc0OjVGNzlEOjRBNUIzNjo2NDBGN0E6NkE0REEwQTEiLCJ2aXNpdG9yX2lkIjoiNTg0NTM4MjY0NDA0MTA5NzM3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3091278ab251b5c3c17c5c4b6bbb06b9f9ef719a439982a64185a644252fa3b7 |
| hovercard-subject-tag | issue:221338281 |
| 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/3293/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0cdb651d0fe1b22c62bb4b3b96cac34cc3de30234bb6193b2debbfcfaf7766a9/googleapis/google-cloud-python/issues/3293 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0cdb651d0fe1b22c62bb4b3b96cac34cc3de30234bb6193b2debbfcfaf7766a9/googleapis/google-cloud-python/issues/3293 |
| og:image:alt | In GAE standard, ndb has the concept of the urlsafe string version of a Key. e.g. url_string = sandy_key.urlsafe() produces a result like agVoZWxsb3IPCxIHQWNjb3VudBiZiwIM. However, I cannot find a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ndenny |
| 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 | 7f13faa65cccc9b729d674da83335d5dcfdfd193 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width