Skip to content

Commit

Permalink
Adding only valid DAG state for TriggerDagRunOperator (#1245)
Browse files Browse the repository at this point in the history
Recently, we have noticed that our Master DAG and example_external_task DAG are throwing parsing errors due to a new change. We can only pass valid DAG states in TriggerDagRunOperator. This PR will address this issue
  • Loading branch information
vatsrahul1001 authored Jul 13, 2023
1 parent 3c032c9 commit fedc81f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/integration-tests/master_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def prepare_dag_dependency(task_info, execution_time):
wait_for_completion=True,
reset_dag_run=True,
execution_date=execution_time,
allowed_states=["success", "failed", "skipped"],
allowed_states=["success", "failed"],
trigger_rule="all_done",
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def check_dag_status(**kwargs: Any) -> None:
trigger_dag_id="example_external_task_async_waits_for_me",
wait_for_completion=True,
reset_dag_run=True,
allowed_states=["success", "failed", "skipped"],
allowed_states=["success", "failed"],
execution_date="{{execution_date}}",
poke_interval=1,
)
Expand Down

0 comments on commit fedc81f

Please sign in to comment.