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:
   Query type hint was removed to fix the mypy error 
[here.](https://github.com/apache/airflow/blob/bf38405bdd22708cd3b216837127085075a17e21/airflow-core/src/airflow/models/dag.py#L587)
 
   If I should replace `Any` with a more precise type, I'm happy to raise 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]

Reply via email to