rawwar commented on code in PR #38831:
URL: https://github.com/apache/airflow/pull/38831#discussion_r1564753091


##########
airflow/providers/postgres/hooks/postgres.py:
##########
@@ -113,6 +114,18 @@ def schema(self):
     def schema(self, value):
         self.database = value
 
+    @property
+    def sqlalchemy_url(self) -> URL:
+        conn = self.get_connection(getattr(self, self.conn_name_attr))
+        return URL.create(
+            drivername="postgresql",

Review Comment:
   I just realised multiple dialects are available, as mentioned in the 
[docs](https://docs.sqlalchemy.org/en/20/dialects/postgresql.html#dialect-postgresql).
 I will be updating this to support different dialects by considering it to be 
passed from the connection.



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