uranusjr commented on code in PR #64563:
URL: https://github.com/apache/airflow/pull/64563#discussion_r3408878407
##########
task-sdk/src/airflow/sdk/bases/decorator.py:
##########
@@ -516,6 +517,7 @@ def __call__(self, *args: FParams.args, **kwargs:
FParams.kwargs) -> XComArg:
op.is_setup = self.is_setup
op.is_teardown = self.is_teardown
op.on_failure_fail_dagrun = on_failure_fail_dagrun
+ op.returns_dag_result = self.returns_dag_result
Review Comment:
This is fixed by adding `returns_dag_result` as a constructor argument
(defaulting to False) on MappedOperator instead. This avoids complicated kwargs
manipulation proposed here.
--
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]