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


##########
providers/postgres/src/airflow/providers/postgres/hooks/postgres.py:
##########
@@ -192,7 +218,7 @@ def sqlalchemy_url(self) -> URL:
         if conn.extra_dejson.get("iam", False):
             conn.login, conn.password, conn.port = self.get_iam_token(conn)
         return URL.create(
-            drivername="postgresql+psycopg" if USE_PSYCOPG3 else "postgresql",
+            drivername=self.sqlalchemy_scheme,

Review Comment:
   I'm not sure if this should be an operator/hook parameter or something 
defined inside the Connection itself. 
   
   What was your thinking for putting it here?



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