You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Daniel Imberman (Jira)" <ji...@apache.org> on 2020/03/29 18:52:00 UTC

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

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

Daniel Imberman closed AIRFLOW-152.
-----------------------------------
    Resolution: Fixed

> 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
>          Components: cli
>            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
(v8.3.4#803005)