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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to