Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for unrecognized model types #401

Merged
merged 3 commits into from Nov 30, 2020

Conversation

steffnay
Copy link
Contributor

@steffnay steffnay commented Nov 25, 2020

If fails to parse model type enum, sets to MODEL_TYPE_UNSPECIFIED.

  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #334 馃

@steffnay steffnay requested review from a team and pmakani November 25, 2020 13:15
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Nov 25, 2020
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 25, 2020
@steffnay steffnay requested a review from tswast November 25, 2020 14:23
tswast
tswast approved these changes Nov 30, 2020
Copy link
Contributor

@tswast tswast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonderful!

@steffnay steffnay merged commit 168f035 into googleapis:master Nov 30, 2020
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Model constructor robust against new model types
2 participants