mohit7705 commented on code in PR #59940:
URL: https://github.com/apache/airflow/pull/59940#discussion_r2668810738


##########
providers/postgres/src/airflow/providers/postgres/hooks/postgres.py:
##########
@@ -27,7 +27,12 @@
 import psycopg2.extras
 from more_itertools import chunked
 from psycopg2.extras import DictCursor, NamedTupleCursor, RealDictCursor, 
execute_batch
-from sqlalchemy.engine import URL
+
+try:

Review Comment:
   Thanks for the clarification, this makes sense 👍
   
   I see the earlier approach and the alternative with lazy imports you linked. 
I’m happy to align with the preferred direction — please let me know if you’d 
like me to update this PR to use lazy imports instead, or if the current 
approach is acceptable as-is.



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