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


##########
providers/postgres/src/airflow/providers/postgres/hooks/postgres.py:
##########
@@ -27,25 +27,14 @@
 import psycopg2.extras
 from more_itertools import chunked
 from psycopg2.extras import DictCursor, NamedTupleCursor, RealDictCursor, 
execute_batch
-from sqlalchemy.engine import URL
 
 from airflow.exceptions import AirflowOptionalProviderFeatureException
 from airflow.providers.common.compat.sdk import AirflowException, Connection, 
conf
 from airflow.providers.common.sql.hooks.sql import DbApiHook
 from airflow.providers.postgres.dialects.postgres import PostgresDialect
 
-USE_PSYCOPG3: bool

Review Comment:
   Actusally deleting it is wrong. The conditional logic should still be used.



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