mik-laj opened a new issue #10135: URL: https://github.com/apache/airflow/issues/10135
Hello, Previously, Airflow allowed users to add more than one connection with the same `conn_id` and on access, it would choose one connection randomly Now, we marked field `conn_id` in table `Connection` as unique. More information: https://github.com/apache/airflow/pull/9067/files For this reason, the `airflow.hooks.base_hook.BaseHook.get_connections` method is no longer applicable, because we have `airflow.hooks.base_hook.BaseHook.get_connection` method that returns only one connection. I think, we should mark it as deprecated to be able to delete it in the distant future. We also update the use of this method. Best regards, Kamil ---------------------------------------------------------------- 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]
