TJaniF commented on issue #29238:
URL: https://github.com/apache/airflow/issues/29238#issuecomment-1409158189
🤦 of course! (I am using this issue as an example in the webinar tomorrow 😂 )
Interesting!
`op_args=["{{ ti.xcom_pull(task_ids='say_things.turn_num_to_int',
key='return_value') }}"]`
results in `[0, 1, 2, 3, 4, 5][0, 1, 2, 3, 4, 5][0, 1, 2, 3, 4, 5][0, 1, 2,
3, 4, 5][0, 1, 2, 3, 4, 5][0, 1, 2, 3, 4, 5][0, 1, 2, 3, 4, 5][0, 1, 2, 3, 4,
5][0, 1, 2, 3, 4, 5][0, 1, 2, 3, 4, 5]`
but `op_args=["{{ ti.xcom_pull(task_ids='say_things.turn_num_to_int',
key='return_value', map_indexes=2) }}"]`
results in `2222222222`, so as I would have expected, pulling one mapped
task index as a string and multiplying by 10.
--
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]