Title: Does not set status codes on operation errors · Issue #15 · googleapis/python-api-core · GitHub
Open Graph Title: Does not set status codes on operation errors · Issue #15 · googleapis/python-api-core
X Title: Does not set status codes on operation errors · Issue #15 · googleapis/python-api-core
Description: Raised in a Cloud Spanner issue, the returned GoogleAPICallError has a code and grpc_status_code of None. The issue seems to be at: https://github.com/googleapis/python-api-core/blob/master/google/api_core/operation.py#L135 The GoogleAPI...
Open Graph Description: Raised in a Cloud Spanner issue, the returned GoogleAPICallError has a code and grpc_status_code of None. The issue seems to be at: https://github.com/googleapis/python-api-core/blob/master/google/...
X Description: Raised in a Cloud Spanner issue, the returned GoogleAPICallError has a code and grpc_status_code of None. The issue seems to be at: https://github.com/googleapis/python-api-core/blob/master/google/...
Opengraph URL: https://github.com/googleapis/python-api-core/issues/15
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Does not set status codes on operation errors","articleBody":"Raised in a [Cloud Spanner issue](https://github.com/googleapis/python-spanner/issues/38), the returned `GoogleAPICallError` has a `code` and `grpc_status_code` of `None`.\r\n\r\nThe issue seems to be at:\r\nhttps://github.com/googleapis/python-api-core/blob/master/google/api_core/operation.py#L135\r\n\r\nThe `GoogleAPICallError` constructor does not set the code from the `errors` argument so the error code contained within it is being lost.","author":{"url":"https://github.com/larkee","@type":"Person","name":"larkee"},"datePublished":"2020-03-23T07:56:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/15/python-api-core/issues/15"}
| 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:305fd8a2-5854-0f24-10e9-5c3b423920a6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B868:35FB06:10DE983:175449B:6A4DDC8D |
| html-safe-nonce | 60092ccce75604c001cbaab735e9c319a7c7a1e76395fe5633d9d1d8cff66718 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODY4OjM1RkIwNjoxMERFOTgzOjE3NTQ0OUI6NkE0RERDOEQiLCJ2aXNpdG9yX2lkIjoiMjkzMTQxNzE1OTg3ODQ4MzMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6e736df2c8cf56e7052d60eddbbd77c29d2a7960a36330d7cc97e5a19226a162 |
| hovercard-subject-tag | issue:586004223 |
| 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/python-api-core/15/issue_layout |
| twitter:image | https://opengraph.githubassets.com/45f085e4248767327852cbbbebfed2ad83f9b62d7a24aff546abd4eb60c729d4/googleapis/python-api-core/issues/15 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/45f085e4248767327852cbbbebfed2ad83f9b62d7a24aff546abd4eb60c729d4/googleapis/python-api-core/issues/15 |
| og:image:alt | Raised in a Cloud Spanner issue, the returned GoogleAPICallError has a code and grpc_status_code of None. The issue seems to be at: https://github.com/googleapis/python-api-core/blob/master/google/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | larkee |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-api-core git https://github.com/googleapis/python-api-core.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992456 |
| octolytics-dimension-repository_nwo | googleapis/python-api-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992456 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-api-core |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width