airflow.hooks.base_hook
¶
Base class for all hooks
Module Contents¶
-
class
airflow.hooks.base_hook.
BaseHook
(source)[source]¶ Bases:
airflow.utils.log.logging_mixin.LoggingMixin
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.