Skip to content

fix: preserve read_gbq_colab label in anywidget mode#17887

Open
shuoweil wants to merge 3 commits into
mainfrom
shuowei-sql-cell-track
Open

fix: preserve read_gbq_colab label in anywidget mode#17887
shuoweil wants to merge 3 commits into
mainfrom
shuowei-sql-cell-track

Conversation

@shuoweil

Copy link
Copy Markdown
Contributor

Preserves the read_gbq_colab label as the primary bigframes-api job label when SQL cell queries are displayed in AnyWidget interactive mode.

Fixes #<538249690> 🦕

@shuoweil
shuoweil requested review from GarrettWu, sycai and tswast July 23, 2026 23:24
@shuoweil shuoweil self-assigned this Jul 23, 2026
@shuoweil
shuoweil requested review from a team as code owners July 23, 2026 23:24

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

Copy link
Copy Markdown
Contributor

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 modifies the job configuration label creation to prioritize the 'read_gbq_colab' API method as the primary 'bigframes-api' label, and adds a unit test to verify this behavior in anywidget mode. The reviewer recommends converting the 'api_methods' parameter to a local list before mutating it to prevent unintended side effects on the caller and avoid potential runtime errors if a non-list iterable is passed.

Comment thread packages/bigframes/bigframes/session/_io/bigquery/__init__.py
shuoweil and others added 2 commits July 23, 2026 16:38
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@shuoweil

Copy link
Copy Markdown
Contributor Author

The failed importer test does not related to the change in current branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant