Title: regression/clear_datastore no longer works · Issue #453 · googleapis/google-cloud-python · GitHub
Open Graph Title: regression/clear_datastore no longer works · Issue #453 · googleapis/google-cloud-python
X Title: regression/clear_datastore no longer works · Issue #453 · googleapis/google-cloud-python
Description: As of b343acf running $ python regression/clear_datastore.py fails because the backend returns Exception: Request failed. Error was: queries inside transactions must have ancestors To see an example query, insert the following: >>> print...
Open Graph Description: As of b343acf running $ python regression/clear_datastore.py fails because the backend returns Exception: Request failed. Error was: queries inside transactions must have ancestors To see an exampl...
X Description: As of b343acf running $ python regression/clear_datastore.py fails because the backend returns Exception: Request failed. Error was: queries inside transactions must have ancestors To see an exampl...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/453
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"regression/clear_datastore no longer works","articleBody":"As of b343acf4ade6dfc659f71a981eb51b62d22e33a0 running\n\n```\n$ python regression/clear_datastore.py\n```\n\nfails because the backend returns\n\n```\nException: Request failed. Error was: queries inside transactions must have ancestors\n```\n\nTo see an example query, [insert](https://github.com/GoogleCloudPlatform/gcloud-python/blob/b343acf4ade6dfc659f71a981eb51b62d22e33a0/regression/clear_datastore.py#L41) the following:\n\n``` python\n\u003e\u003e\u003e print query._pb\nprojection {\n property {\n name: \"__key__\"\n }\n}\nkind {\n name: \"Character\"\n}\nlimit: 20\n```\n\nI'm fairly certain the backend has changed, but I'm not 100% sure.\n\nEither way, this isn't super pressing right now since there are lot's of ways to delete entities that were accidentally created.\n","author":{"url":"https://github.com/dhermes","@type":"Person","name":"dhermes"},"datePublished":"2014-12-21T04:13:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/453/google-cloud-python/issues/453"}
| 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:ba387d5c-ef68-bdcb-d675-8e7660dac770 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C94:30395:35E78D:48DAEF:6A4D8D8F |
| html-safe-nonce | ba792b713508bfba4aa2663a892d86861c3b6c94766e3c099a691cb08c3ed5b9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qzk0OjMwMzk1OjM1RTc4RDo0OERBRUY6NkE0RDhEOEYiLCJ2aXNpdG9yX2lkIjoiNzE3NDcxMDM4NjkxMzgwNzc1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f8c690d4fcf47e023d89397f1c6464ec8d53146c69397af1f0df5811b71abb80 |
| hovercard-subject-tag | issue:52585472 |
| 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/453/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d0ebe8056c340e2d20052ad400398b84ee85b8d4e97a62cb08572389aa53866f/googleapis/google-cloud-python/issues/453 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d0ebe8056c340e2d20052ad400398b84ee85b8d4e97a62cb08572389aa53866f/googleapis/google-cloud-python/issues/453 |
| og:image:alt | As of b343acf running $ python regression/clear_datastore.py fails because the backend returns Exception: Request failed. Error was: queries inside transactions must have ancestors To see an exampl... |
| 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 | 9f8758a3953dfe943439713a6fa4f90d542a3431f10e861ca03dd7f39009f320 |
| 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 | bffd5484f01713a661b03469b77678f72b6574ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width