Title: Make Model constructor robust against new model types · Issue #334 · googleapis/python-bigquery · GitHub
Open Graph Title: Make Model constructor robust against new model types · Issue #334 · googleapis/python-bigquery
X Title: Make Model constructor robust against new model types · Issue #334 · googleapis/python-bigquery
Description: Follow-up to #293 model_type appears to be the only enum. Maybe we pull this out of the _proto resource and save it as a string, instead? Alternatively, maybe if we fail to parse, we can set to MODEL_TYPE_UNSPECIFIED?
Open Graph Description: Follow-up to #293 model_type appears to be the only enum. Maybe we pull this out of the _proto resource and save it as a string, instead? Alternatively, maybe if we fail to parse, we can set to MOD...
X Description: Follow-up to #293 model_type appears to be the only enum. Maybe we pull this out of the _proto resource and save it as a string, instead? Alternatively, maybe if we fail to parse, we can set to MOD...
Opengraph URL: https://github.com/googleapis/python-bigquery/issues/334
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Make Model constructor robust against new model types","articleBody":"Follow-up to https://github.com/googleapis/python-bigquery/issues/293\r\n\r\n[model_type](https://googleapis.dev/python/bigquery/latest/generated/google.cloud.bigquery.model.Model.html#google.cloud.bigquery.model.Model.model_type) appears to be the only enum. Maybe we pull this out of the `_proto` resource and save it as a string, instead?\r\n\r\nAlternatively, maybe if we fail to parse, we can set to MODEL_TYPE_UNSPECIFIED?","author":{"url":"https://github.com/tswast","@type":"Person","name":"tswast"},"datePublished":"2020-10-20T18:00:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/334/python-bigquery/issues/334"}
| 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:edc1d2d4-447b-ee4c-820a-4c220530cad2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B244:3E6EAA:6B0912F:96F2741:6A4FF6FC |
| html-safe-nonce | de1517281b53d20091739387e9b3f3893426f44e1014e65e094d8b12393fafe5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjQ0OjNFNkVBQTo2QjA5MTJGOjk2RjI3NDE6NkE0RkY2RkMiLCJ2aXNpdG9yX2lkIjoiNzQzOTY5Nzk1ODAwNTYxNDA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bbedecf1fb3c4e3768b73cd2d7c5c40d0a8ac7076e7aab5ff2afbce3fcc16e28 |
| hovercard-subject-tag | issue:725819798 |
| 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-bigquery/334/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c3fe7cf3e17f3b7151dfe0365bf74187072eb8f7fb2faa8dce617ab56ce187c/googleapis/python-bigquery/issues/334 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c3fe7cf3e17f3b7151dfe0365bf74187072eb8f7fb2faa8dce617ab56ce187c/googleapis/python-bigquery/issues/334 |
| og:image:alt | Follow-up to #293 model_type appears to be the only enum. Maybe we pull this out of the _proto resource and save it as a string, instead? Alternatively, maybe if we fail to parse, we can set to MOD... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tswast |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3bd0ff5d28a87b4801a63fb38c2a21a91b0a700dca159dc9416aeae05771b899 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-bigquery git https://github.com/googleapis/python-bigquery.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992475 |
| octolytics-dimension-repository_nwo | googleapis/python-bigquery |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992475 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-bigquery |
| 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 | 67a336083e4dcb40224dc2c01cd4c7ed413bdb09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width