Skip to content

Commit

Permalink
update settings.py to constants.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Dec 13, 2024
1 parent 333b460 commit e33cb5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions dbt/adapters/snowflake/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from dbt_common.exceptions import CompilationError, DbtDatabaseError, DbtRuntimeError
from dbt_common.utils import filter_null_values

from dbt.adapters.snowflake import settings
from dbt.adapters.snowflake import constants
from dbt.adapters.snowflake.relation_configs import (
SnowflakeRelationType,
TableFormat,
Expand Down Expand Up @@ -347,7 +347,7 @@ def submit_python_job(self, parsed_model: dict, compiled_code: str):
database = parsed_model["database"]
identifier = parsed_model["alias"]
python_version = parsed_model["config"].get(
"python_version", settings.DEFAULT_PYTHON_VERSION_FOR_PYTHON_MODELS
"python_version", constants.DEFAULT_PYTHON_VERSION_FOR_PYTHON_MODELS
)

packages = parsed_model["config"].get("packages", [])
Expand Down

0 comments on commit e33cb5e

Please sign in to comment.