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/07/17 21:06:16 UTC

[GitHub] [airflow] uranusjr commented on issue #25061: Expand does not play nice with dictionaries

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

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