airflow.example_dags.example_retry_policy
Example DAG demonstrating pluggable retry policies.
A retry policy evaluates the actual exception at failure time and decides whether to retry (with a custom delay), fail immediately, reschedule without using a retry, or fall through to the standard retry logic.
Attributes
Exceptions
Raised by the task when the warehouse it submits queries to has no free slots. |
Functions
Module Contents
- airflow.example_dags.example_retry_policy.API_RETRY_POLICY[source]
- airflow.example_dags.example_retry_policy.call_external_api()[source]
- airflow.example_dags.example_retry_policy.STANDARD_RETRY_POLICY[source]
- airflow.example_dags.example_retry_policy.CHAINED_RETRY_POLICY[source]
- exception airflow.example_dags.example_retry_policy.WarehouseBusyError[source]
Bases:
ExceptionRaised by the task when the warehouse it submits queries to has no free slots.
- airflow.example_dags.example_retry_policy.WAREHOUSE_RETRY_POLICY[source]