jscheffl commented on PR #41717: URL: https://github.com/apache/airflow/pull/41717#issuecomment-2372937939
> Hi, I believe that this PR is now breaking the functionality of connections that are imported from env vars for example. When parsing the connection from a uri, in case of mongo, the scheme == conn_type and it will now fail in validations as schema is either `mongodb` or `mongodb+srv`. I guess we need to add a small PR and add additional case in `_normalize_conn_type` method. I am not in the developers community here, so just raising the issue this PR caused. This is where a fix is needed: > > https://github.com/apache/airflow/blob/ab3429c3189ceb244eb3d78062159859dbe611ce/airflow/models/connection.py#L215 Can you elaborate some details, provide an example and post a separate issue entry as provider bug report? Maybe linking to this PR. -- 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]
