docs: update the query with no cache sample to use query_and_wait API#1770
Merged
chalmerlowe merged 3 commits intogoogleapis:mainfrom Jan 18, 2024
Merged
docs: update the query with no cache sample to use query_and_wait API#1770chalmerlowe merged 3 commits intogoogleapis:mainfrom
query_and_wait API#1770chalmerlowe merged 3 commits intogoogleapis:mainfrom
Conversation
|
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
query_no_cache.py updates : Call to APIquery_no_cache.py code sample updates
tswast
reviewed
Jan 11, 2024
samples/query_no_cache.py
Outdated
| GROUP BY corpus; | ||
| """ | ||
| query_job = client.query(sql, job_config=job_config) # Make an API request. | ||
| query_job = client.query_and_wait(sql, job_config=job_config) # Make an API request. |
Contributor
There was a problem hiding this comment.
Please rename this variable to results since it is no longer a QueryJob object.
query_no_cache.py code sample updates query_and_wait API
tswast
approved these changes
Jan 11, 2024
query_and_wait APIquery_and_wait API
auto-merge was automatically disabled
January 11, 2024 21:52
Head branch was pushed to by a user without write access
3152a31 to
c104a23
Compare
This was referenced Jan 30, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕