Skip to content

Commit

Permalink
Temporarily try calling sc.addPyFile on the fully qualified path for …
Browse files Browse the repository at this point in the history
…debugging
  • Loading branch information
jeancochrane committed May 15, 2024
1 parent 58e415b commit 3dc4894
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dbt/models/reporting/reporting.ratio_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ def model(dbt, spark_session):
dbt.config(materialized="table")

# Load dependency bundle so that we can import deps
python_model_dependency = dbt.ref("ccao.python_model_dependency")
s3_dependency_dir = python_model_dependency.first()["s3_dependency_dir"]
# type: ignore
sc.addPyFile( # noqa: F821
f"{s3_dependency_dir}/reporting.ratio_stats.requirements.zip"
"s3://ccao-dbt-athena-ci-us-east-1/dependencies/jeancochrane_439_refactor_reportingratio_stats_to_use_new_pattern_for_python_model_dependencies/reporting.ratio_stats.requirements.zip" # noqa: E501
)

import numpy as np # noqa: E402 F401
Expand Down

0 comments on commit 3dc4894

Please sign in to comment.