rawwar commented on code in PR #38831:
URL: https://github.com/apache/airflow/pull/38831#discussion_r1581812721
##########
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:
Since, different dialects require the specific driver package to be
installed, for now, I'm defaulting to sqlalchemy
--
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]