Search code examples
airflow

Is it possible to access dag_run.conf from a SubDag?


It looks like you can access a dag_run's conf parameters using the PythonOperator and setting provide_context=true or by using jinja templating + the BashOperator. Is there a built in way to provide access to these values to the SubDagOperator?


Solution

  • This JIRA issue seems to imply that it is currently not possible to pass conf parameters from a parent DAG to a subdag.