Automatically retry a task when it fails. Set retry on the @action decorator to define how many times the task should be retried before giving up.
{* ./docs_src/retry/retry.py hl[4,12,17] *}
Add retry_delay to wait a fixed number of seconds between each attempt.
{* ./docs_src/retry/retry_delay.py hl[4,12,17] *}