mtilda commented on issue #25317:
URL: https://github.com/apache/airflow/issues/25317#issuecomment-1197313881

   @dstandish I don't quite follow your explanation...
   
   Can you justify the behavior of this code?
   ```py
   from airflow.models.connection import Connection
   
   conn = Connection(uri="postgresql://")
   print(conn.get_uri())
   ```
   Output:
   ```
   postgres://
   ```
   
   ---
   
   It is my understanding that the class `Connection` should be completely 
agnostic to the system the connection is for (i.e. SQLAlchemy). Why would there 
be a hardcoded mutation of the `conn_id`?
   
   Let's assume I'm not using SQLAlchemy, rather some other system that 
requires the URI to start with `postgresql://`.


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