vincbeck commented on code in PR #57799:
URL: https://github.com/apache/airflow/pull/57799#discussion_r2491114218


##########
airflow-core/src/airflow/models/deadline.py:
##########
@@ -414,6 +414,7 @@ def _evaluate_with(self, *, session: Session, **kwargs: 
Any) -> datetime | None:
             dialect = get_dialect_name(session)
 
             # Create database-specific expression for calculating duration in 
seconds
+            duration_expr: Any | None = None

Review Comment:
   I like it better. Maybe @uranusjr has a better idea though (sorry to ping 
you TP but your comments on these mypy PRs are very valuable :))



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