8000 BigQuery: avoid errors from unknown fields in Models API. by tswast · Pull Request #8083 · googleapis/google-cloud-python · GitHub
[go: up one dir, main page]

Skip to content

Conversation

tswast
Copy link
Contributor
@tswast tswast commented May 21, 2019

As new fields are added, the JSON -> Protobuf conversion should not
fail. Instead, it should ignore unknown fields. So that this data is not
discarded, use _properties as is the convention in our REST libraries.
It's private, but can be used as a workaround to get access to fields
that haven't yet been added to the client library.

Closes #8082.

As new fields are added, the JSON -> Protobuf conversion should not
fail. Instead, it should ignore unknown fields. So that this data is not
discarded, use _properties as is the convention in our REST libraries.
It's private, but can be used as a workaround to get access to fields
that haven't yet been added to the client library.
@tswast tswast requested review from a team, busunkim96 and shollyman May 21, 2019 16:57
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 21, 2019
@tswast tswast added the api: bigquery Issues related to the BigQuery API. label May 21, 2019
@tseaver tseaver changed the title Don't raise error when encountering unknown fields in Models API. BigQuery: don't raise error when encountering unknown fields in Models API. May 21, 2019
@tseaver tseaver changed the title BigQuery: don't raise error when encountering unknown fields in Models API. BigQuery: avoid errors from unknown fields in Models API. May 21, 2019
@tswast tswast merged commit 25b988f into googleapis:master May 21, 2019
@tswast tswast deleted the issue8082-get_model-unknown-fields branch May 21, 2019 18:15
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 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.

BQML get_model snippets tests are failing

3 participants

0