rawwar commented on issue #38195:
URL: https://github.com/apache/airflow/issues/38195#issuecomment-2059307908
> # TODO: Maybe this should be moved to DbAPiHook
> def get_url(self) -> URL:
> self.log.info("Connection schema: %s", self.schema)
> self.log.info("Connection scheme: %s", self.scheme)
> self.log.info("Connection driver: %s", self.driver)
> self.log.info("Connection type: %s", self.connection.conn_type)
> self.log.info("Connection login: %s", self.connection.login)
> self.log.info("Connection password: %s", self.connection.password)
> self.log.info("Connection host: %s", self.connection.host)
> self.log.info("Connection port: %s", self.connection.port)
>
> return URL.create(
> self.scheme,
> username=self.connection.login,
> password=self.connection.password,
> host=self.connection.host,
> port=self.connection.port,
> )
>
I think this is the plan. First, to add `sqlalchemy_url` to all the
providers that use it. And, then, to modify to the base class if I am not wrong.
--
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]