Skip to content

Commit

Permalink
Airflow Variable usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Antonellini committed Feb 23, 2024
1 parent a2a88de commit e6dda6a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
default_args={"start_date": "2021-01"},
description="Loan Run",
schedule_interval="0 0 1 */12 *",
tags=["version_5"],
tags=["version_1"],
catchup=False,
)
def daily_loan_run():
def variables_dag():
transform = DatacovesDbtOperator(
task_id="transform",
bash_command=f"dbt build -s 'tag:{daily_run_tag}'",
)

dag = daily_loan_run()
dag = variables_dag()

0 comments on commit e6dda6a

Please sign in to comment.