airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremiah Lowin <jlo...@apache.org>
Subject Re: Passing XCOM variables from parent DAG to child DAG
Date Wed, 13 Jul 2016 18:36:21 GMT
Hi Greg,

This should be possible. When you pull the XCom, you can specify key,
task_id, and dag_id. By default, it only pulls from the same DAG, so try
setting the DAG_id to match the parent.

J

On Wed, Jul 13, 2016 at 2:34 PM Greg Lira <hryhory.lira@gmail.com> wrote:

> Hi,
>
> We want to push an XCom in the parent dag and then use (pull) it in our
> SubDAGs.Can't get this working in airflow.
> Is it supported? How can we use that?
>
> Thanks,
> Greg
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message