I have a dag that we'll deploy to multiple different airflow instances and in our airflow.cfg we have dags_are_paused_at_creation = True
but for this specific dag we want it to be turned on without having to do so manually by clicking on the UI. Is there a way to do it programmatically?
相关问题
- How to define operations of an STFP Operator on Ai
- How to export large data from Postgres to S3 using
- Airflow - Experimental API returning 405s for some
- How to add an Airflow Pool via environment variabl
- Airflow task after BranchPythonOperator does not f
相关文章
- Airflow depends_on_past explanation
- How to delete XCOM objects once the DAG finishes i
- Get Exception details on Airflow on_failure_callba
- How to run one airflow task and all its dependenci
- Running airflow tasks/dags in parallel
- External files in Airflow DAG
- Cannot run apache airflow after fresh install, pyt
- Run .EXE and Powershell tasks with Airflow
supply your dag_id and run this command on your command line.
For more information on the airflow command line interface: https://airflow.incubator.apache.org/cli.html
I created the following function to do so if anyone else runs into this issue:
airflow-rest-api-plugin plugin can also be used to programmatically pause tasks.
See for more details: https://github.com/teamclairvoyant/airflow-rest-api-plugin
I think you are looking for
unpause
( notpause
)