Skip to content

Commit

Permalink
Added gov dashboard aggregation step to airflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit25negi committed Jan 16, 2020
1 parent 57863f5 commit 124961e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dags/dashboard_subdags.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,16 @@ def generate_uuid():
params={'query': 'create_mbt_for_month'},
dag=monthly_dag
)
governance_dashboard = BashOperator(
task_id='update_governance_dashboard',
bash_command=run_query_template,
params={'query': 'update_governance_dashboard'},
dag=monthly_dag
)
aggregate_awc_daily >> create_mbt
update_child_health_monthly_table >> create_mbt
agg_ls_table >> create_mbt

create_mbt >> governance_dashboard

return monthly_dag

0 comments on commit 124961e

Please sign in to comment.