The BigQuery integration page still imports from google.adk.tools.bigquery,
which now raises a DeprecationWarning pointing at
google.adk.integrations.bigquery. Update all five auth snippets and the
included sample to the new path.
The sample also wrapped session_service.create_session() in asyncio.run(),
which blows up in Colab and other notebooks where a loop is already running.
Restructure it around an async main() that awaits create_session() and
iterates runner.run_async(), matching the pattern the other built-in tool
snippets already use.
Bug: b/559149787
Co-authored-by: Joe Fernandez <931947+joefernandez@users.noreply.github.com>
* fix(docs): Update bigquery.py creds
I required this to make it work
application_default_credentials, _ = google.auth.default()
* Update examples/python/snippets/tools/built-in-tools/bigquery.py
---------
Co-authored-by: Kristopher Overholt <koverholt@google.com>
* Fix the code sample of using BigQuery with the application default credentails
* Update bigquery.py
---------
Co-authored-by: Kristopher Overholt <koverholt@google.com>
Co-authored-by: Joe Fernandez <joefernandez@users.noreply.github.com>