Evacuator#
What is Evacuator?#
Decorator/context manager designed to catch a certain exception and exit with specific exit code.
- Designed to be used in Apache Airflow with:
BashOperator (airflow>2.1)
PythonVirtualenvOperator (airflow>=2.6)
ExternalPythonOperator (airflow>=2.6)
DockerOperator (apache-airflow-providers-docker>=3.5)
KubernetesPodOperator (apache-airflow-providers-cncf-kubernetes>=6.1)
SSHOperator (apache-airflow-providers-ssh>=3.10)
any other operator support skipping task when process is exited with some specific exit code (
skip_on_exit_code
option)
How to install#
pip install evacuator