-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: move query and wait logic to separate module #720
Conversation
This prepares the way for using the `query_and_wait` method built-in to the client library when available.
Conda test failure appears unrelated and tracked here: #708 |
pandas_gbq/exceptions.py
Outdated
BigQuery configuration. | ||
""" | ||
|
||
pass |
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.
nit: should we keep the pass
here? Other error classes do not have this.
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.
You're correct. pass
is not needed because there is a docstring. I'll remove.
): | ||
"""Wait for query to complete, pausing occasionally to update progress. | ||
|
||
Args: |
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.
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.
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.
Updated docstrings here and added docstrings to the query_and_wait()
method.
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.
Thank you @tswast! All looks good except for some small comments.
This prepares the way for using the
query_and_wait
method 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
🦕