potiuk commented on pull request #16048:
URL: https://github.com/apache/airflow/pull/16048#issuecomment-852130124
This is the offending piece of code.
```
def get_uri(self) -> str:
"""Return connection in URI format"""
uri = f"{str(self.conn_type).lower().replace('_', '-')}://"
````
The get_uri() method is not used in many places (mostly in DBApi which is
irrelevant). The get_uri method It's not used in HTTPHook to actually make any
call (the HTTPHook uses "schema" field for the protocol), but it would be nice
to get it correct in get_uri as well.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]