Lee-W commented on code in PR #38674:
URL: https://github.com/apache/airflow/pull/38674#discussion_r1604969145


##########
docs/apache-airflow/authoring-and-scheduling/deferring.rst:
##########
@@ -141,6 +141,60 @@ The ``self.defer`` call raises the ``TaskDeferred`` 
exception, so it can work an
 
 ``execution_timeout`` on operators is determined from the *total runtime*, not 
individual executions between deferrals. This means that if 
``execution_timeout`` is set, an operator can fail while it's deferred or while 
it's running after a deferral, even if it's only been resumed for a few seconds.
 
+Triggering Deferral from Start
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If you want to defer your task directly to the triggerer without going into 
the worker, you can add the class level attributes ``start_trigger`` and 
``_next_method`` to your deferrable operator.

Review Comment:
   Yep, sounds good! Let me add a TODO in 
https://github.com/apache/airflow/pull/39585



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