sunank200 commented on code in PR #40084:
URL: https://github.com/apache/airflow/pull/40084#discussion_r1682818170


##########
airflow/exceptions.py:
##########
@@ -372,9 +372,15 @@ class TaskDeferred(BaseException):
     Signal an operator moving to deferred state.
 
     Special exception raised to signal that the operator it was raised from
-    wishes to defer until a trigger fires.
+    wishes to defer until a trigger fires. Triggers can send execution back to 
task or end the task instance
+    directly. If the trigger will end the task instance itself, 
``method_name`` should be
+    None; otherwise, provide the name of the method that should be used when
+    resuming execution in the task.

Review Comment:
   I have added the same wording.



-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to