-
Notifications
You must be signed in to change notification settings - Fork 32
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
Patch user agent #121
Patch user agent #121
Conversation
✅ 93/93 passed, 1 skipped, 31m49s total Running from acceptance #243 |
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.
LGTM
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.
LGTM
src/databricks/labs/dqx/base.py
Outdated
@@ -18,9 +19,13 @@ def ws(self) -> WorkspaceClient: | |||
@staticmethod | |||
@final | |||
def _verify_workspace_client(ws: WorkspaceClient) -> WorkspaceClient: | |||
# pylint: disable=protected-access |
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.
no-cheat / no-pylint-disable step won't accept this. If there is absolutely no other way then reflection could help.
@@ -21,6 +22,9 @@ def _verify_workspace_client(ws: WorkspaceClient) -> WorkspaceClient: | |||
""" | |||
Verifies the Databricks workspace client configuration. | |||
""" | |||
product_info = getattr(ws.config, '_product_info') |
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.
Please also add a comment that we need this for tracking the usage of DQX from notebooks.
Changes
Linked issues
Resolves #..
Tests
Main:
After Applying Patch: