[ 
https://issues.apache.org/jira/browse/AIRFLOW-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jarek Potiuk closed AIRFLOW-1241.
---------------------------------
    Resolution: Won't Fix

I am closing some old issues that are not relevant any more. Please let me know 
if you want to reopen it.

> Allow airflow test and airflow run to take arguments to pass to DAGs
> --------------------------------------------------------------------
>
>                 Key: AIRFLOW-1241
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1241
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: cli
>            Reporter: Dan Davydov
>            Priority: Major
>
> A common use case it to have conditionals in a DAG to run dev/prod code, e.g.
> DEV_MODE=True
> if DEV_MODE:
>   hit_test_db
> else:
>   hit_prod_db
> it would be good if you could instead pass arguments to tasks with airflow 
> run/test e.g. airflow run some_dag some_task some_date --args foo=1
> and then in the dag: something like execution_args.foo could be used (which 
> would have value 1).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to