You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jeffrey Picard (JIRA)" <ji...@apache.org> on 2016/05/20 06:31:12 UTC

[jira] [Created] (AIRFLOW-152) Add --task_params option to 'airflow run'

Jeffrey Picard created AIRFLOW-152:
--------------------------------------

             Summary: Add --task_params option to 'airflow run'
                 Key: AIRFLOW-152
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-152
             Project: Apache Airflow
          Issue Type: New Feature
            Reporter: Jeffrey Picard
            Priority: Minor


Currently there is a 'task_params' option which can add to or override
values in the params dictionary for a task, but it is only available
when running a task with 'airflow test'.

By accepting this parameter in 'airflow run' and then passing it to the
subprocess through the command method in the TaskInstance class this
option can be supported.

This has use cases in running tasks in an ad-hoc manner where a
parameter may define an environment (i.e. testing vs. production) or
input / output locations and a developer may want to tweak them on the
fly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)