uranusjr commented on code in PR #39426:
URL: https://github.com/apache/airflow/pull/39426#discussion_r1593762549
##########
docs/apache-airflow/authoring-and-scheduling/dynamic-task-mapping.rst:
##########
@@ -53,7 +53,7 @@ The grid view also provides visibility into your mapped tasks
in the details pan
In the above example, ``values`` received by ``sum_it`` is an aggregation
of all values returned by each mapped instance of ``add_one``. However, since
it is impossible to know how many instances of ``add_one`` we will have in
advance, ``values`` is not a normal list, but a "lazy sequence" that retrieves
each individual value only when asked. Therefore, if you run ``print(values)``
directly, you would get something like this::
- LazyXComAccess(dag_id='simple_mapping', run_id='test_run',
task_id='add_one')
+ [... 15 items ...]
Review Comment:
This is what will appear in the logs. Suggestions are welcome, but as
mentioned in a thread above I don’t think it’s a good idea to print the entire
list 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]