refactor: move query and wait logic to separate module#720
Merged
gcf-merge-on-green[bot] merged 5 commits intomainfrom Jan 16, 2024
Merged
refactor: move query and wait logic to separate module#720gcf-merge-on-green[bot] merged 5 commits intomainfrom
gcf-merge-on-green[bot] merged 5 commits intomainfrom
Conversation
This prepares the way for using the `query_and_wait` method built-in to the client library when available.
Contributor
Author
|
Conda test failure appears unrelated and tracked here: #708 |
4 tasks
Linchin
reviewed
Jan 12, 2024
pandas_gbq/exceptions.py
Outdated
| BigQuery configuration. | ||
| """ | ||
|
|
||
| pass |
Contributor
There was a problem hiding this comment.
nit: should we keep the pass here? Other error classes do not have this.
Contributor
Author
There was a problem hiding this comment.
You're correct. pass is not needed because there is a docstring. I'll remove.
Linchin
reviewed
Jan 12, 2024
| ): | ||
| """Wait for query to complete, pausing occasionally to update progress. | ||
|
|
||
| Args: |
Contributor
There was a problem hiding this comment.
I see this method has been moved out to be a helper function, maybe we should also update the description as the parameters have changed.
Contributor
Author
There was a problem hiding this comment.
Updated docstrings here and added docstrings to the query_and_wait() method.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This prepares the way for using the
query_and_waitmethod built-in to the client library when available.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:
Towards #710
🦕