Prab-27 commented on code in PR #55274:
URL: https://github.com/apache/airflow/pull/55274#discussion_r2513229742
##########
airflow-core/src/airflow/models/dag.py:
##########
@@ -580,7 +580,7 @@ def deactivate_deleted_dags(
dm.is_stale = True
@classmethod
- def dags_needing_dagruns(cls, session: Session) -> tuple[Query, dict[str,
datetime]]:
+ def dags_needing_dagruns(cls, session: Session) ->
tuple[ScalarResult[Any], dict[str, datetime]]:
Review Comment:
The `Query` type hint was removed to resolve a mypy error
[here.](https://github.com/apache/airflow/blob/bf38405bdd22708cd3b216837127085075a17e21/airflow-core/src/airflow/models/dag.py#L587)
If replacing `Any` with a more precise type becomes necessary, I’ll submit a
separate PR.
--
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]