You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by ra...@gmail.com, ra...@gmail.com on 2018/05/02 14:44:47 UTC

Configuration passing through airflow cli (trigger_dag)

Hi,
I need to pass certain arguments to my custom operator at run time. It seems that airflow cli's trigger_dag
command support passing conf at run time which referred in operator's execute function through {{ dag_run.conf['name'] }} template.
But I am not being able to read the "name" conf inside operator.
Am I missing something here. 
Any pointer on this would help me in moving forward.

Thanks,
Raman Gupta