Lee-W commented on code in PR #39585: URL: https://github.com/apache/airflow/pull/39585#discussion_r1634498532
########## docs/apache-airflow/authoring-and-scheduling/deferring.rst: ########## @@ -143,10 +143,14 @@ The ``self.defer`` call raises the ``TaskDeferred`` exception, so it can work an 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. + .. versionadded:: 2.10.0 -* ``start_trigger``: An instance of a trigger you want to defer to. It will be serialized into the database. +If you want to defer your task directly to the triggerer without going into the worker, you can set class level attribute ``start_with_trigger`` to ``True`` add add class level attribute ``start_trigger_args`` with the following 4 attributes to your deferrable operator. Review Comment: Updated. Thanks! -- 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]
