kukigai opened a new pull request #11484: URL: https://github.com/apache/airflow/pull/11484
dagrun operator throws DagRunAlreadyExists if dag has already run on the same execution date. However, user might need to [backfill with reset_dagruns option](https://airflow.apache.org/docs/stable/cli-ref#backfill). When user submit backfill with reset_dagruns and want to clear previous dag run, dagrun_operator should clear that dag run. trigger_dag.py (line76) change is required since "dag_run" can be list and if that is the case, "AttributeError: 'list' object has no attribute 'run_id'" is raised instead of DagRunAlreadyExists. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
