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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture 'query' attr when loading 'QueryJob' from JSON resource. #2534

Merged
merged 1 commit into from
Oct 12, 2016
Merged

Capture 'query' attr when loading 'QueryJob' from JSON resource. #2534

merged 1 commit into from
Oct 12, 2016

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Oct 12, 2016

Closes: #2511.

@tseaver tseaver added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. api: bigquery Issues related to the BigQuery API. labels Oct 12, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 12, 2016
@@ -1062,6 +1062,8 @@ def _scrub_local_properties(self, cleaned):
the client's project.
"""
configuration = cleaned['configuration']['query']

self.query = configuration['query']

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Oct 12, 2016

LGTM pending Travis / my teeny comment

@tseaver tseaver merged commit 9c9c126 into googleapis:master Oct 12, 2016
@tseaver tseaver deleted the 2511-bigquery-capture-query-when-loading-job-by-name branch October 12, 2016 17:14
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
…-query-when-loading-job-by-name

Capture 'query' attr when loading 'QueryJob' from JSON resource.
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. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants