module documentation

This module provides an utility function to retrieve the global hook_manager singleton in a Kedro's execution process.

Variable logger Undocumented
Class _NullPluginManager This class creates an empty hook_manager that will ignore all calls to hooks, allowing the runner to function if no hook_manager has been instantiated.
Function _register_hooks Register all hooks as specified in hooks with the global hook_manager.
Function _register_hooks_setuptools Register pluggy hooks from setuptools entrypoints.
Constant _PLUGIN_HOOKS Undocumented

Undocumented

def _register_hooks(hook_manager: PluginManager, hooks: Iterable[Any]): (source)

Register all hooks as specified in hooks with the global hook_manager.

Parameters
hook_manager:PluginManagerHook manager instance to register the hooks with.
hooks:Iterable[Any]Hooks that need to be registered.
def _register_hooks_setuptools(hook_manager: PluginManager, disabled_plugins: Iterable[str]): (source)

Register pluggy hooks from setuptools entrypoints.

Parameters
hook_manager:PluginManagerHook manager instance to register the hooks with.
disabled_plugins:Iterable[str]An iterable returning the names of plugins which hooks must not be registered; any already registered hooks will be unregistered.
_PLUGIN_HOOKS: str = (source)

Undocumented

Value
'kedro.hooks'