Skip to content
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

Merged
merged 9 commits into from
Jan 24, 2025
Merged

Patch user agent #121

merged 9 commits into from
Jan 24, 2025

Conversation

sundarshankar89
Copy link
Collaborator

@sundarshankar89 sundarshankar89 commented Jan 23, 2025

Changes

Linked issues

Resolves #..

Tests

  • manually tested
  • added unit tests
  • added integration tests

Main:

image

After Applying Patch:

image

Copy link

github-actions bot commented Jan 23, 2025

✅ 93/93 passed, 1 skipped, 31m49s total

Running from acceptance #243

Copy link
Contributor

@mwojtyczka mwojtyczka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@mwojtyczka mwojtyczka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -18,9 +19,13 @@ def ws(self) -> WorkspaceClient:
@staticmethod
@final
def _verify_workspace_client(ws: WorkspaceClient) -> WorkspaceClient:
# pylint: disable=protected-access
Copy link
Contributor

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')
Copy link
Contributor

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.

@mwojtyczka mwojtyczka merged commit 3ff01e7 into main Jan 24, 2025
8 checks passed
@mwojtyczka mwojtyczka deleted the patch/user_agent branch January 24, 2025 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants