Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove variable read from dags #217

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions orchestrate/dags/daily_loan_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
from operators.datacoves.bash import DatacovesBashOperator
from operators.datacoves.dbt import DatacovesDbtOperator

my_var = Variable.get("ng_test_var")

@dag(
default_args={"start_date": "2021-01"},
description="Loan Run",
Expand Down
5 changes: 0 additions & 5 deletions orchestrate/dags/yaml_dbt_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,8 @@
catchup=False,
)
def yaml_dbt_dag():
my_var = Variable.get("ng_test_var")

if my_var:
print(my_var)
run_dbt = DatacovesDbtOperator(
task_id="run_dbt", bash_command="dbt run -s personal_loans"
)


dag = yaml_dbt_dag()
Loading