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 2021/12/23 12:38:09 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #20470: Fix Mypy errors in airflow/dag_processing

kaxil commented on a change in pull request #20470:
URL: https://github.com/apache/airflow/pull/20470#discussion_r774543326



##########
File path: airflow/models/taskinstance.py
##########
@@ -1764,7 +1764,7 @@ def handle_failure(
     @provide_session
     def handle_failure_with_callback(
         self,
-        error: Union[str, Exception],
+        error: Optional[Union[str, Exception]] = None,

Review comment:
       Why this change?




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