vincbeck commented on code in PR #28900:
URL: https://github.com/apache/airflow/pull/28900#discussion_r1308992469


##########
airflow/models/taskinstance.py:
##########
@@ -186,23 +188,23 @@ def set_current_context(context: Context) -> 
Generator[Context, None, None]:
             )
 
 
-def _stop_remaining_tasks(*, self, session: Session):
+def _stop_remaining_tasks(*, task_instance, session: Session):

Review Comment:
   But this is called in `fetch_handle_failure_context` using and passing `ti` 
down to `_stop_remaining_tasks` which the type is `TaskInstance | 
TaskInstancePydantic`. Adding this type then.



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