habitat.tracking.hook_manager# Module Contents# Classes# HookManager class habitat.tracking.hook_manager.HookManager[source]# attach_hooks_on_module(module, predicate, hook_creator)[source]# attach_hooks_on_module_using(module, using_module, predicate, hook_creator)[source]# Attach hooks onto functions in the provided module. Use the using_module to discover the existing functions. attach_hook(module, prop, hook_creator)[source]# remove_hooks()[source]# _maybe_store_callable(module, prop, original_callable)[source]# Store the original callable (to be able to restore it) only when it is the first time we are encountering the given callable.