Skip to content

Conversation

tswast
Copy link
Collaborator

@tswast tswast commented May 14, 2025

Also,

  • chore: add callback argument to _read_gbq_colab
  • chore: create _to_pandas_batches_colab with callback argument

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)

Fixes #<issue_number_goes_here> 🦕

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels May 14, 2025
@tswast tswast force-pushed the b409104302-callback branch from 21ca375 to f8a3f64 Compare September 3, 2025 22:05
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: s Pull request size is small. labels Sep 3, 2025
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@tswast tswast changed the title chore: add callback argument to _read_gbq_colab feat: add custom progress reporting to anywidget display mode Sep 4, 2025
@@ -679,6 +680,7 @@ def to_pandas_batches(
page_size: Optional[int] = None,
max_results: Optional[int] = None,
allow_large_results: Optional[bool] = None,
callback: Callable = lambda _: None,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Per discussion offline, we may want to provide a global progress publisher object rather than add callbacks to each method that needs them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant