msumit commented on issue #16430:
URL: https://github.com/apache/airflow/issues/16430#issuecomment-861399642


   @paantya you can use `params` instead of `dag_run.conf`, like it has been 
used 
[here](https://github.com/apache/airflow/blob/main/airflow/example_dags/example_bash_operator.py#L39).
 The `params` dict will be available on UI to edit before triggering a dag. 
Then u can use `{{ params['example_key'] }}` in code to get that value. 
   ![Screenshot 2021-06-15 at 4 22 54 
PM](https://user-images.githubusercontent.com/2018407/122040941-08e7f400-cdf6-11eb-85ed-a3d99f2a379f.png)
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to