Skip to content

Commit

Permalink
fixed DAG dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
HyejiYu committed Sep 27, 2024
1 parent d822719 commit 71b62c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/HomePlus_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def generate_queue_values():
category_ids = list(range(100001, 100078))

# 모든 병렬 태스크가 완료된 후의 마무리 태스크
final_task = EmptyOperator(
empty_task = EmptyOperator(
task_id='empty-task',
dag=dag
)
Expand Down Expand Up @@ -114,4 +114,4 @@ def generate_queue_values():
[
run_consumer_task,
send_post_request_HOMEPLUS_task.expand(category_id=category_ids),
] >> [send_failure_email, send_success_email]
] >> empty_task >> [send_failure_email, send_success_email]

0 comments on commit 71b62c5

Please sign in to comment.