You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/11/30 10:12:25 UTC

[GitHub] [airflow] atrbgithub commented on issue #28002: Clearing dag run via UI fails on main branch and 2.5.0rc2

atrbgithub commented on issue #28002:
URL: https://github.com/apache/airflow/issues/28002#issuecomment-1331919404

   > Issue is that this fn is missing the `@provide_session` decorator and/or the `session` argument shouldn't have a default value.
   > 
   > ```
   >     def _clear_dag_tis(
   >         self,
   >         dag: DAG,
   >         start_date: datetime | None,
   >         end_date: datetime | None,
   >         origin: str,
   >         task_ids=None,
   >         recursive=False,
   >         confirmed=False,
   >         only_failed=False,
   >         session: Session = NEW_SESSION,
   >     ):
   > ```
   
   I added this locally and it then works fine 👍 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org