In Airflow 2.0, you can get the status of tasks in a dag by running CLI command: airflow tasks states-for-dag-run
. (See docs here: https://airflow.apache.org/docs/apache-airflow/stable/cli-and-env-variables-ref.html#state_repeat1 )
What's the equivalent in Airflow 1.10.12? I can't seem to find it in the 1.10.12 docs .
There is no direct equivalent as this is a new CLI command of Airflow 2.0.
In Airflow 1.10.12 you can do ( docs ):
airflow task_state [-h] [-sd SUBDIR] dag_id task_id execution_date
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.