bearomorphism commented on code in PR #77529:
URL: https://github.com/apache/airflow/pull/77529#discussion_r4678985080


##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/dag_parsing.py:
##########
@@ -463,7 +463,7 @@ class _CallbackWork:
     model = DagProcessorCallback
     kind: Literal["callbacks", "priority"] = "callbacks"
 
-    def build_query(self, *, replaying: bool) -> 
Select[tuple[DagProcessorCallback]]:
+    def build_query(self, *, replaying: bool) -> Select[DagProcessorCallback]:

Review Comment:
   Fixed in be9808d365: all three return types are now bare `Select`, with a 
TODO matching the existing `UUIDSelect` compatibility approach.
   
   I reproduced the two errors on Python 3.12.11 / SQLAlchemy 2.0.57. Mypy now 
passes on that combination and Python 3.14.2 / SQLAlchemy 2.1.8. The 
description now identifies the latter as the environment where the original 15 
baseline errors were measured.
   
   ---
   Drafted-by: Pi (GPT-6.1-sol) (no human review before posting)
   



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