databricks / databricks-sdk-py

Databricks SDK for Python (Beta)
https://databricks-sdk-py.readthedocs.io/
Apache License 2.0
352 stars 117 forks source link

[ISSUE] Env Vars are not ignored when passing credentials directly #680

Open ion-elgreco opened 3 months ago

ion-elgreco commented 3 months ago

Description I had to set DATABRICKS_HOST and DATABRICKS_TOKEN so that I could use managed databricks mlflow from an external environment. The problem is that my Databricks Workspace Client has to use a different service principal, so I passed it directly as azure_client_secret etc.

Reproduction Not required.

Expected behavior Ignore databricks host and token, if all required credentials are already directly passed.

Is it a regression? Afaik, it never worked.