henry3260 commented on code in PR #57799:
URL: https://github.com/apache/airflow/pull/57799#discussion_r2491016856
##########
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:
> Does not `Any` include `None`? And I think we can guess the type of
`duration_expr` It is used below to build the query so I guess the type should
be pretty straightforward to guess
Can I use `duration_expr: ColumnElement[Any]`?
--
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]