potiuk commented on code in PR #59940:
URL: https://github.com/apache/airflow/pull/59940#discussion_r2668906645
##########
providers/postgres/src/airflow/providers/postgres/hooks/postgres.py:
##########
@@ -167,14 +157,23 @@ def __cast_nullable(value, dst_type: type) -> Any:
@property
def sqlalchemy_url(self) -> URL:
+ try:
+ from sqlalchemy.engine import URL
Review Comment:
This will likely fail with MyPy issues.
--
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]