We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e44786 commit 93fbd24Copy full SHA for 93fbd24
src/webapp/databricks.py
@@ -213,7 +213,10 @@ def fetch_table_data(
213
"""
214
try:
215
# Initialize the WorkspaceClient with default authentication
216
- client = WorkspaceClient()
+ client = WorkspaceClient(
217
+ host=databricks_vars["DATABRICKS_HOST_URL"],
218
+ google_service_account=gcs_vars["GCP_SERVICE_ACCOUNT_EMAIL"],
219
+ )
220
except Exception as e:
221
raise ValueError(f"Failed to initialize WorkspaceClient: {e}")
222
0 commit comments