Title: '_AsyncQuery.cancel' fails to update from returned resource · Issue #2377 · googleapis/google-cloud-python · GitHub
Open Graph Title: '_AsyncQuery.cancel' fails to update from returned resource · Issue #2377 · googleapis/google-cloud-python
X Title: '_AsyncQuery.cancel' fails to update from returned resource · Issue #2377 · googleapis/google-cloud-python
Description: E.g.: Traceback (most recent call last): File ... job.cancel() File ".../google/cloud/bigquery/job.py", line 378, in cancel self._set_properties(api_response) File ".../google/cloud/bigquery/job.py", line 262, in _set_properties self._sc...
Open Graph Description: E.g.: Traceback (most recent call last): File ... job.cancel() File ".../google/cloud/bigquery/job.py", line 378, in cancel self._set_properties(api_response) File ".../google/cloud/bigquery/job.py...
X Description: E.g.: Traceback (most recent call last): File ... job.cancel() File ".../google/cloud/bigquery/job.py", line 378, in cancel self._set_properties(api_response) File ".../google/cloud/...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/2377
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'_AsyncQuery.cancel' fails to update from returned resource","articleBody":"E.g.:\n\n``` python\nTraceback (most recent call last):\n File ...\n job.cancel()\n File \".../google/cloud/bigquery/job.py\", line 378, in cancel\n self._set_properties(api_response)\n File \".../google/cloud/bigquery/job.py\", line 262, in _set_properties\n self._scrub_local_properties(cleaned)\n File \".../google/cloud/bigquery/job.py\", line 1050, in _scrub_local_properties\n configuration = cleaned['configuration']['query']\nKeyError: 'configuration'\n```\n\nThe [docs for `job.cancel`](https://cloud.google.com/bigquery/docs/reference/v2/jobs/cancel#response) show that the job resource is in a `job` subkey of the response.\n","author":{"url":"https://github.com/tseaver","@type":"Person","name":"tseaver"},"datePublished":"2016-09-21T17:49:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2377/google-cloud-python/issues/2377"}
| 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:b07060ba-de65-41d4-3134-2ba5241bd19b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B036:3861F:E2A6CA:134351E:6A4D5DFE |
| html-safe-nonce | 9a5d05c8f1eef87ef672c117317d30b67c7800ac6ef2f31a12ba6488f1ed25e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDM2OjM4NjFGOkUyQTZDQToxMzQzNTFFOjZBNEQ1REZFIiwidmlzaXRvcl9pZCI6IjQ0NzkzMzg4MjM5NTExMDM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1e4d02a4c1faae8df774102e7820ecf485f0c0096990dc5b91214779c48e6fd9 |
| hovercard-subject-tag | issue:178416985 |
| 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/2377/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ecdbbabdf7c641b4d0176aaea554eeccfd83833b14b48f83e119b2afd9a55962/googleapis/google-cloud-python/issues/2377 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ecdbbabdf7c641b4d0176aaea554eeccfd83833b14b48f83e119b2afd9a55962/googleapis/google-cloud-python/issues/2377 |
| og:image:alt | E.g.: Traceback (most recent call last): File ... job.cancel() File ".../google/cloud/bigquery/job.py", line 378, in cancel self._set_properties(api_response) File ".../google/cloud/bigquery/job.py... |
| 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 | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| 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 | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width