foldvari commented on issue #51821: URL: https://github.com/apache/airflow/issues/51821#issuecomment-4141710601
@GlenboLake thanks for sharing. It helped me to try a few things. I tried the API (REST) as well, because that looked really promising, but the Get XCOM Entries response does not contain the values :( @potiuk I found that `ti.xcom_pull` accepts "~" as `task_ids`. So I can use it to get the value of a key pushed by any task, and this would solve one of my use cases: the key is known, but the task_id of the upstream task which pushed the value is not known. Something like this can cover this use case: `ti.xcom_pull(key="upstream_result", task_ids="~")`. It will give back a list of values, but if there are no multiple upstream tasks using the same key, this is not a problem. But before I start applying this I want to double check with you that xcom_pull accepting task_ids="~" is an intended behavior and will not be removed. -- 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]
