amoghrajesh commented on code in PR #61461:
URL: https://github.com/apache/airflow/pull/61461#discussion_r2815267654


##########
airflow-core/src/airflow/serialization/definitions/deadline.py:
##########
@@ -226,7 +224,7 @@ def _evaluate_with(self, *, session: Session, **kwargs: 
Any) -> datetime | None:
                 return None
 
             avg_duration_seconds = sum(durations) / len(durations)
-            return timezone.utcnow() + timedelta(seconds=avg_duration_seconds)
+            return timezone.utcnow() + 
timedelta(seconds=float(avg_duration_seconds))

Review Comment:
   Actually I do not remember why I made that, just reverting it, seems 
unnecessary. 



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to