Skip to content

Commit 0c0de57

Browse files
committed
Merge branch 'develop' of github.com-work:datakind/sst-app-api into develop
2 parents 955809a + 1271573 commit 0c0de57

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/webapp/databricks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def run_pdp_inference(
213213
job = next(w.jobs.list(name=pipeline_type), None)
214214
if not job or job.job_id is None:
215215
raise ValueError(
216-
f"run_pdp_inference(): Job '{pipeline_type}' was not found or has no job_id."
216+
f"run_pdp_inference(): Job '{pipeline_type}' was not found or has no job_id for '{gcs_vars['GCP_SERVICE_ACCOUNT_EMAIL']}' and '{databricks_vars['DATABRICKS_HOST_URL']}'."
217217
)
218218
job_id = job.job_id
219219
LOGGER.info(f"Resolved job ID for '{pipeline_type}': {job_id}")

src/webapp/routers/data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,6 @@ def validation_helper(
10451045
) -> Any:
10461046
"""Helper function for file validation (self-contained & optimized)."""
10471047
import time
1048-
import re
10491048
import os
10501049

10511050
# --- access check & quick input validation

0 commit comments

Comments
 (0)