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, or fall through to the standard retry logic.

Attributes

API_RETRY_POLICY

STANDARD_RETRY_POLICY

Functions

call_external_api()

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]

Was this entry helpful?