Programmer-RD-AI commented on code in PR #52729:
URL: https://github.com/apache/airflow/pull/52729#discussion_r2246233008


##########
task-sdk/src/airflow/sdk/execution_time/task_runner.py:
##########
@@ -980,9 +982,12 @@ def _handle_current_task_failed(
     end_date = datetime.now(tz=timezone.utc)
     if ti._ti_context_from_server and ti._ti_context_from_server.should_retry:
         return RetryTask(end_date=end_date), TaskInstanceState.UP_FOR_RETRY
-    return TaskState(
-        state=TaskInstanceState.FAILED, end_date=end_date, 
rendered_map_index=ti.rendered_map_index
-    ), TaskInstanceState.FAILED
+    return (
+        TaskState(
+            state=TaskInstanceState.FAILED, end_date=end_date, 
rendered_map_index=ti.rendered_map_index
+        ),
+        TaskInstanceState.FAILED,
+    )

Review Comment:
   i am sorry for the mistake, will make sure i won't do it again :) thanks for 
letting me know 



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