BaseHook

Apache Airflow Certified

Abstract base class for hooks.

View on GitHub

Last Updated: Feb. 13, 2023

Access Instructions

Install the Apache Airflow provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Documentation

Abstract base class for hooks.

Hooks are meant as an interface to interact with external systems. MySqlHook, HiveHook, PigHook return object that can handle the connection and interaction to specific instances of these systems, and expose consistent methods to interact with them.

Was this page helpful?