Open
Description
Description
This check to detect legacy databricks-cli raises a false positive since chocolatey installs a shim which is smaller than 1 MB
databricks-sdk-py/databricks/sdk/credentials_provider.py
Lines 756 to 758 in ad0e9f1
When the cli is installed via other methods or when the script is run from the cli directory this error isn't raised.
Reproduction
- install the databricks-cli via chocolatey
- setup a simple profile called
MYPROFILE
- run the following snippet from the sdk readme
from databricks.sdk import WorkspaceClient
w = WorkspaceClient(profile='MYPROFILE')
Expected behavior
I would not expect an error to be raised.
Is it a regression?
I don't believe so.
Additional context
Here is a related test case which would need to be updated
databricks-sdk-py/tests/test_core.py
Line 104 in ad0e9f1
Metadata
Metadata
Assignees
Labels
No labels