Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

chore: refactor cell data parsing to use classes for easier overrides - #2144

Merged
tswast merged 6 commits into
mainfrom
tswast-refactor-cell-data
Mar 19, 2025
Merged

chore: refactor cell data parsing to use classes for easier overrides#2144
tswast merged 6 commits into
mainfrom
tswast-refactor-cell-data

Conversation

@tswast

Copy link
Copy Markdown
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Towards #1876
🦕

@tswast
tswast requested review from a team and mrfaizalMarch 11, 2025 21:43
@product-auto-labelproduct-auto-labelBot added size: xl Pull request size is extra large. api: bigquery Issues related to the googleapis/python-bigquery API. labels Mar 11, 2025
@tswast
tswast requested review from Linchin and chalmerlowe and removed request for mrfaizalMarch 11, 2025 21:43
Comment threadgoogle/cloud/bigquery/_helpers.py Outdated
Comment threadtests/unit/_helpers/test_cell_data_parser.py Outdated

@chalmerlowechalmerlowe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I have one question about boilerplate copyright text.

That is not a show stopper.

It looks like coverage is grumbly about one of the lines in _helpers.py. Once that gets cleaned up, we should be good to go.

Gonna approve this.

@tswast
tswast merged commit 9acd9c1 into mainMar 19, 2025
@tswast
tswast deleted the tswast-refactor-cell-data branch March 19, 2025 15:17
chalmerlowe pushed a commit that referenced this pull request Mar 25, 2025
…#2144)
* chore: refactor cell data parsing to use classes for easier overrides
* improve error messages with urls for valueerrors
* Update tests/unit/_helpers/test_cell_data_parser.py
* remove unreachable code
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.size: xlPull request size is extra large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@tswast@GarrettWu@chalmerlowe@shollyman