Airflow Summit 2026 is coming August 31 - September 2 in Austin, TX. Register now to secure your spot!

airflow.providers.common.compat.hook

Functions

get_async_hook(conn_id[, hook_params])

Get an asynchronous Airflow hook that is backwards compatible.

Package Contents

async airflow.providers.common.compat.hook.get_async_hook(conn_id, hook_params=None)[source]

Get an asynchronous Airflow hook that is backwards compatible.

Parameters:
  • conn_id (str) – The provided connection ID.

  • hook_params (dict | None) – Additional hook params.

Returns:

BaseHook

Return type:

airflow.providers.common.compat.sdk.BaseHook

Was this entry helpful?