Skip to content

Commit ca10fe2

Browse files
Merge pull request #971 from chrisbonilla95/cbon-lx-691-databricks-ds-token-cred-fix
fix: proper cred loading for Databricks pt2.
2 parents ba151d2 + 5990e79 commit ca10fe2

File tree

1 file changed

+1
-1
lines changed
  • gooddata-sdk/gooddata_sdk/catalog/data_source

1 file changed

+1
-1
lines changed

gooddata-sdk/gooddata_sdk/catalog/data_source/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def test_data_sources_connection(
476476
declarative_data_source.to_test_request(token=token)
477477
)
478478
elif declarative_data_source.type == DATABRICKS_TYPE:
479-
if declarative_data_source.client_id is not None:
479+
if declarative_data_source.client_id and declarative_data_source.client_id.strip():
480480
client_secret = ClientSecretCredentialsFromFile.client_secret_from_file(
481481
credentials[declarative_data_source.id]
482482
)

0 commit comments

Comments
 (0)