From cdd0eaaeee86949655be1013a11bbe9385337f25 Mon Sep 17 00:00:00 2001 From: Amisha Singla Date: Wed, 2 Oct 2024 15:56:03 -0500 Subject: [PATCH] use variables to address source --- dags/dbt_source_data_freshness_test_dag.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dags/dbt_source_data_freshness_test_dag.py b/dags/dbt_source_data_freshness_test_dag.py index 63b4ec23..369612fa 100644 --- a/dags/dbt_source_data_freshness_test_dag.py +++ b/dags/dbt_source_data_freshness_test_dag.py @@ -33,10 +33,8 @@ dag, command_type="source", sub_command="freshness", - cmd_args=["source:crypto_stellar.*", "source:crypto_stellar_internal_2.*"], + cmd_args=["source:{{ var.value.dbt_internal_source_schema }}.*", "source:{{ var.value.dbt_public_source_db }}.*"], flag=None, tag=None, resource_cfg="dbt", ) - - source_freshness_tests