Skip to content

Conversation

@dondaum
Copy link
Contributor

@dondaum dondaum commented Oct 23, 2025

We should have a backwards compatible way to get an Airflow connection asynchronously. Otherwise, each provider package must implement similar functionality to use the new BaseHook.aget_connection(...) method.

I haven't found a suitable place to add this feature. I am happy about every recommendation here.

related: #56791

cc @ramitkataria


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

Copy link
Contributor

@ramitkataria ramitkataria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a nit but otherwise looks good to me

@dondaum dondaum force-pushed the feat/move-back-async-get-con-to-common-prov branch from 65407eb to 3dd0067 Compare October 24, 2025 10:24
Copy link
Contributor

@ferruzzi ferruzzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks good.

@ferruzzi
Copy link
Contributor

@Lee-W - This one needs to get merged before #56911, can you have a look when you get time?

@ferruzzi ferruzzi merged commit 6e6d9eb into apache:main Nov 4, 2025
92 checks passed
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants