mik-laj commented on issue #13789:
URL: https://github.com/apache/airflow/issues/13789#issuecomment-763809507
I guess you wanted to use the `airflow tasks test` command. The `airflow
run` command never had a `--task_params`` parameter
Airflow 1.10.12
```
airflow test [-h] [-sd SUBDIR] [-dr] [-tp TASK_PARAMS] [-pm]
dag_id task_id execution_date
-tp, --task_params
Sends a JSON params dict to the task
```
Airflow 1.10.14
```
airflow tasks test [-h] [-n] [-m] [-S SUBDIR] [-t TASK_PARAMS]
dag_id task_id execution_date
-t, --task-params
Sends a JSON params dict to the task
```
This change are described in the migration guide:
https://airflow.apache.org/docs/apache-airflow/stable/upgrading-to-2.html#airflow-cli-changes-in-2-0
<img width="833" alt="Screenshot 2021-01-20 at 18 28 06"
src="https://user-images.githubusercontent.com/12058428/105212068-44cfa380-5b4d-11eb-988c-5d0409a2849d.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]