Skip to content

Conversation

@Crowiant
Copy link
Contributor

@Crowiant Crowiant commented Oct 2, 2025

In issue: #49881 it was stated that the new Connection object from airflow.sdk should not be constructed from uri as it was before but by passing all the parameters explicitly. This PR introduces refactored method create_connection in CloudSQLDatabseHook that will use new Connection starting from Airflow 3.1. For other versions of Airflow create_connection still uses the old way Connection from airflow.models


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Oct 2, 2025
@potiuk potiuk merged commit e374b2a into apache:main Oct 13, 2025
82 checks passed
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 14, 2025
…new Connection from airflow.sdk. (apache#56323)

Co-authored-by: Anton Nitochkin <nitochkin@google.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
…new Connection from airflow.sdk. (apache#56323)

Co-authored-by: Anton Nitochkin <nitochkin@google.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
…new Connection from airflow.sdk. (apache#56323)

Co-authored-by: Anton Nitochkin <nitochkin@google.com>
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 2025
…new Connection from airflow.sdk. (apache#56323)

Co-authored-by: Anton Nitochkin <nitochkin@google.com>
TyrellHaywood pushed a commit to TyrellHaywood/airflow that referenced this pull request Oct 22, 2025
…new Connection from airflow.sdk. (apache#56323)

Co-authored-by: Anton Nitochkin <nitochkin@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants