ashb commented on code in PR #53001:
URL: https://github.com/apache/airflow/pull/53001#discussion_r2192123947


##########
airflow-core/src/airflow/models/baseoperator.py:
##########
@@ -29,9 +29,10 @@
 from collections.abc import Collection, Iterable, Iterator
 from datetime import datetime
 from functools import singledispatchmethod
-from typing import TYPE_CHECKING, Any
+from typing import TYPE_CHECKING, Any, cast
 
 from sqlalchemy import select
+from sqlalchemy.orm import Session

Review Comment:
   Oh, singledispatch needs it to evaluate the types, even though it only looks 
at the type of the first one. Gotcha.



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