google.common.hooks.base_google
¶
Module Contents¶
Classes¶
Abstract base class for hooks, hooks are meant as an interface to |
- class google.common.hooks.base_google.GoogleBaseHookAsync(**kwargs)¶
Bases:
airflow.hooks.base.BaseHook
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.
- sync_hook_class :Any¶
- async get_sync_hook(self)¶
Sync version of the Google Cloud Hooks makes blocking calls in
__init__
so we don’t inherit from it.
- async service_file_as_context(self)¶