Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 9d23259

Browse files
committed
add a warning when the deprecated variable exists
1 parent c8f0c5b commit 9d23259

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

data_diff/dbt.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ def dbt_diff(
9191
set_dbt_version(dbt_parser.dbt_version)
9292
set_dbt_project_id(dbt_parser.dbt_project_id)
9393

94+
if datadiff_variables.get("custom_schemas") is not None:
95+
logger.warning(
96+
"vars: data_diff: custom_schemas: is no longer used and can be removed.\nTo utilize custom schemas, see the documentation here: https://docs.datafold.com/development_testing/open_source"
97+
)
98+
9499
if is_cloud:
95100
api = _initialize_api()
96101
# exit so the user can set the key

0 commit comments

Comments
 (0)