-
Notifications
You must be signed in to change notification settings - Fork 39
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
fix: remove the unused connection_client from the remote function #824
base: main
Are you sure you want to change the base?
Conversation
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
@@ -654,9 +653,6 @@ def remote_function( | |||
output_type: Optional[type] = None, | |||
session: Optional[Session] = None, | |||
bigquery_client: Optional[bigquery.Client] = None, | |||
bigquery_connection_client: Optional[ |
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.
This is a breaking change. Please detect if this is set and warn with a FutureWarning that this argument is deprecated, instead.
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.
Thanks! Are we allowed to check in the breaking change? I do find it very confusing as a customer.
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 think the savior is that this is marked as deprecated for external use, so we can make a breaking change here?
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.
Thanks for the catch. Looks like we missed removing from here when refactoring out the connection management (for reuse in ML modules).
@@ -654,9 +653,6 @@ def remote_function( | |||
output_type: Optional[type] = None, | |||
session: Optional[Session] = None, | |||
bigquery_client: Optional[bigquery.Client] = None, | |||
bigquery_connection_client: Optional[ |
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 think the savior is that this is marked as deprecated for external use, so we can make a breaking change here?
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:
Fixes #<issue_number_goes_here> 🦕