I'm currently working with Apache Airflow and trying to configure retries for my DAG tasks using the retry_delay (or retry_delay_sec) parameter in a YAML-based DAG definition. However, I'm running into issues when trying different formats. I've tried values such as:
- Strings: "600", "600s"
- Integers: 600, 60
- Python timedelta: timedelta(minutes=10)
None of these seem to work properly, and I keep encountering errors. Could someone clarify the correct way to define retry_delay or retry_delay_sec in a YAML DAG configuration? Any help would be greatly appreciated!
I already explained in the body.