uranusjr commented on issue #25061:
URL: https://github.com/apache/airflow/issues/25061#issuecomment-1186607113

   There are actually two levels in this issue. First, the square bracket 
syntax _does not mean dictionary access_ here. [It means accessing a different 
XCom pushed by the parent 
task.](https://airflow.apache.org/docs/apache-airflow/stable/_api/airflow/models/xcom_arg/index.html?highlight=xcomarg#airflow.models.xcom_arg.XComArg)
   
   The second level is we do not support expanding a task against arbitrary 
XCom push, only the return value, as mentioned above.
   
   The current square bracket syntax is terrible (sorry if you were the one who 
invented it), but unfortunately we can’t do anything about it at the time. I’ll 
re-label this as a documentation issue so we can add some warnings in the 
task-mapping doc page. Feel free to work on it.


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

Reply via email to