uranusjr commented on code in PR #57466: URL: https://github.com/apache/airflow/pull/57466#discussion_r2476335464
########## airflow-core/src/airflow/api_fastapi/common/db/dag_runs.py: ########## @@ -23,11 +23,11 @@ from airflow.models.dagrun import DagRun dagruns_select_with_state_count = ( - select( + select( # type: ignore[call-overload] Review Comment: That’s unfortunate. Would it be viable if we use `cast` on the `func.count` value to fix this instead? Either way, let’s also add a comment describing why the ignore/cast is needed so it could potentially be revisited if SQLAlchemy improves. -- 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]
