cooltoast opened a new pull request #4939: [AIRFLOW-4120] Modify SchedulerJob.manage_slas to respect zero timedelta SLAs URL: https://github.com/apache/airflow/pull/4939 ### Jira - [\[AIRFLOW-4120\] SLA of zero timedelta is not respected](https://issues.apache.org/jira/browse/AIRFLOW-4120) ### Description Added a simple `isinstance` check inside the `manage_slas` method of `SchedulerJob`, so we can differentiate between falsy values of `sla` and valid `timedelta` values like: `timedelta()` and `timedelta(0)`. ### Code Quality - [x] Passes `flake8`
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
