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

Commit

Permalink
add a warning when the deprecated variable exists
Browse files Browse the repository at this point in the history
  • Loading branch information
dlawin committed Apr 14, 2023
1 parent c8f0c5b commit 9d23259
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data_diff/dbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ def dbt_diff(
set_dbt_version(dbt_parser.dbt_version)
set_dbt_project_id(dbt_parser.dbt_project_id)

if datadiff_variables.get("custom_schemas") is not None:
logger.warning(
"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"
)

if is_cloud:
api = _initialize_api()
# exit so the user can set the key
Expand Down

0 comments on commit 9d23259

Please sign in to comment.