Skip to content

Commit cb4abff

Browse files
author
Facundo Sentena
committed
fix: use validated env vars instead of empty constants for volume_path
1 parent 9f7ff76 commit cb4abff

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/artifact_translation_package/databricks_job.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,9 @@ def databricks_entrypoint():
338338

339339
volume_path = (
340340
f"/Volumes/"
341-
f"{UnityCatalogConfig.CATALOG.value}/"
342-
f"{UnityCatalogConfig.SCHEMA.value}/"
343-
f"{UnityCatalogConfig.RAW_VOLUME.value}/"
341+
f"{catalog}/"
342+
f"{schema}/"
343+
f"{raw_volume}/"
344344
)
345345

346346
# Process settings with validation

0 commit comments

Comments
 (0)