guan404ming commented on code in PR #49535:
URL: https://github.com/apache/airflow/pull/49535#discussion_r2069968664
##########
airflow-core/docs/authoring-and-scheduling/deferring.rst:
##########
@@ -460,6 +460,40 @@ In the above example, the trigger will end the task
instance directly if ``end_f
Exiting from the trigger works only when listeners are not integrated for
the deferrable operator. Currently, when deferrable operator has the
``end_from_trigger`` attribute set to ``True`` and listeners are integrated it
raises an exception during parsing to indicate this limitation. While writing
the custom trigger, ensure that the trigger is not set to end the task instance
directly if the listeners are added from plugins. If the ``end_from_trigger``
attribute is changed to different attribute by author of trigger, the DAG
parsing would not raise any exception and the listeners dependent on this task
would not work. This limitation will be addressed in future releases.
+Pushing XComs from Deferred Tasks
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. versionadded:: 2.10.0
Review Comment:
After more investigation, it seems currently trigger is not accept `xcoms`
https://github.com/apache/airflow/pull/46677#issue-2848147893 after reworked.
`xcoms` is passed when the event have `xcoms`.
Should we modify our example or try to modify trigger to accept "xcoms" when
init?
--
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]