uranusjr commented on code in PR #29608:
URL: https://github.com/apache/airflow/pull/29608#discussion_r1132088607
##########
airflow/models/baseoperator.py:
##########
@@ -1119,6 +1121,12 @@ def set_xcomargs_dependencies(self) -> None:
arg = getattr(self, field)
XComArg.apply_upstream_relationship(self, arg)
+ def iter_xcom_dependencies(self) -> Iterator[tuple[Operator, str]]:
+ """Upstream dependencies that provide XComs used by this operator."""
+ from airflow.models.xcom_arg import XComArg
+
+ yield from XComArg.iter_xcom_references(self)
Review Comment:
Why is this needed?
--
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]