Skip to content

Added get_async_hook in common.compat provider#69208

Open
dabla wants to merge 1 commit into
apache:mainfrom
dabla:feature/add_get_async_hook_common_compat
Open

Added get_async_hook in common.compat provider#69208
dabla wants to merge 1 commit into
apache:mainfrom
dabla:feature/add_get_async_hook_common_compat

Conversation

@dabla

@dabla dabla commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Added a get_async_hook method in common.compat provider just like it's get_async_connection counterpart.

That way we don't have to write the backward compat code ourselves anymore and thus repeat ourselves over and over again, we can now just call this helper method so the code is DRY.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@dabla dabla force-pushed the feature/add_get_async_hook_common_compat branch from c040243 to 8c39b46 Compare July 1, 2026 23:22
@dabla dabla self-assigned this Jul 2, 2026
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.

1 participant