uranusjr commented on code in PR #57466:
URL: https://github.com/apache/airflow/pull/57466#discussion_r2476326125
##########
airflow-core/src/airflow/api_fastapi/common/parameters.py:
##########
@@ -66,6 +66,8 @@
if TYPE_CHECKING:
from sqlalchemy.orm.attributes import InstrumentedAttribute
from sqlalchemy.sql import ColumnElement, Select
+else:
+ from sqlalchemy.orm.attributes import InstrumentedAttribute
Review Comment:
But InstrumentedAttribute is already imported for typing (like 67). This
makes it available at runtime too.
--
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]