You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/10 03:07:53 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #25617: Promote Operator.output more

uranusjr commented on code in PR #25617:
URL: https://github.com/apache/airflow/pull/25617#discussion_r941966475


##########
docs/apache-airflow/concepts/dynamic-task-mapping.rst:
##########
@@ -180,17 +180,14 @@ It is possible to use ``partial`` and ``expand`` with classic style operators as
 Mapping over result of classic operators
 ----------------------------------------
 
-If you want to map over the result of a classic operator you will need to create an ``XComArg`` object manually.
+If you want to map over the result of a classic operator, you need to explicitly reference the *output*, instead of the operator itself.

Review Comment:
   The *need to* part is contrast to just passing in the operator object (i.e. not add `.output`), which wouldn’t work, so *can* would be confusing to me as well. Maybe *should*?



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org