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/09 16:41:05 UTC

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

josh-fell commented on code in PR #25617:
URL: https://github.com/apache/airflow/pull/25617#discussion_r941564320


##########
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:
   ```suggestion
   If you want to map over the result of a classic operator, you can explicitly reference the *output*, instead of the operator itself.
   ```
   Nit. Technically you _could_ still use `XComArg()` as well but we're saying there is a better way.



-- 
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