10000 Adding missing properties from LoadJobConfig to LoadJob library by lbristol88 · Pull Request #7710 · googleapis/google-cloud-python · GitHub
[go: up one dir, main page]

Skip to content

Conversation

lbristol88
Copy link
Contributor
@lbristol88 lbristol88 commented Apr 15, 2019

@lbristol88 lbristol88 requested a review from crwilcox as a code owner April 15, 2019 19:52
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 15, 2019
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.

LGTM once there is a test for non-None description and friendly name.

else:
self.assertIsNone(job.destination_encryption_configuration)

if "destinationTableDescription" in config:
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, _verifyResourceProperties isn't a very good example to follow. I prefer explicitly setting the values you are looking for in the test itself.

Please remove this code and add check for string values for destination_table_description and destination_table_friendly_name to test_ctor_w_config.

@tswast tswast added api: bigquery Issues related to the BigQuery API. kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Apr 15, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 15, 2019
@tswast tswast merged commit 785c907 into googleapis:master Apr 15, 2019
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.

BigQuery: Add missing configuration properties to LoadJob
4 participants
0