Skip to content

Commit

Permalink
Merge pull request #13 from dbt-labs/hope-troubleshoot-section-15
Browse files Browse the repository at this point in the history
add config to make apply_prediction_to_position an anonymous sproc
  • Loading branch information
hope-wat authored Aug 9, 2023
2 parents 27e6f3f + 7d504c6 commit 5ceb301
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def model(dbt, session):
dbt.config(
packages = ['snowflake-snowpark-python' ,'scipy','scikit-learn' ,'pandas' ,'numpy'],
materialized = "table",
tags = "predict"
tags = "predict",
use_anonymous_sproc=True
)
session._use_scoped_temp_objects = False
download_models_and_libs_from_stage(session)
Expand Down

0 comments on commit 5ceb301

Please sign in to comment.