-
Notifications
You must be signed in to change notification settings - Fork 42
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
feat: add client_endpoints_override to bq options #1167
Conversation
@client_endpoints_override.setter | ||
def client_endpoints_override(self, value: dict): | ||
warnings.warn( | ||
"This is an advanced option that sets the endpoints directly. Don't use if you don't know about it." |
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.
A example from GPT, "if you don't know about it.“ sounds too casual:
This is an advanced configuration option for directly setting endpoints. Incorrect use may lead to unexpected behavior or system instability. Proceed only if you fully understand its implications.
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.
Cool.
@@ -91,6 +91,7 @@ def __init__( | |||
skip_bq_connection_check: bool = False, | |||
*, | |||
ordering_mode: Literal["strict", "partial"] = "strict", | |||
client_endpoints_override: dict = {}, |
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.
quick question, why not just endpoints_override.
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.
Those are bq_xxx_client endpoints.
failed samples are caused by #909, unrelated to this PR. |
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:
b/370077669