kaxil commented on code in PR #53031:
URL: https://github.com/apache/airflow/pull/53031#discussion_r2192675068
##########
airflow-core/src/airflow/models/taskinstance.py:
##########
@@ -1817,20 +1782,14 @@ def save_to_db(ti: TaskInstance, session: Session =
NEW_SESSION):
@provide_session
def handle_failure(
self,
- error: None | str | BaseException,
- test_mode: bool | None = None,
- context: Context | None = None,
- force_fail: bool = False,
Review Comment:
force_fail wasn't passed to `ti.handle_failure` anyway so it ended up using
the default so removed it. Same for other args
--
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]