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

docs: update client_query_w_named_params.py to use query_and_wait API #1782

Merged
merged 9 commits into from
Feb 12, 2024
Prev Previous commit
Next Next commit
Update client_query_w_named_params.py
lint
  • Loading branch information
kiraksi committed Feb 12, 2024
commit c59bf37241feb52fa8b6e7493d6dc94459f0e50d
4 changes: 3 additions & 1 deletion samples/client_query_w_named_params.py
Expand Up @@ -33,7 +33,9 @@ def client_query_w_named_params() -> None:
bigquery.ScalarQueryParameter("min_word_count", "INT64", 250),
]
)
results = client.query_and_wait(query, job_config=job_config) # Make an API request.
results = client.query_and_wait(
query, job_config=job_config
) # Make an API request.

for row in results:
print("{}: \t{}".format(row.word, row.word_count))
Expand Down