summaryrefslogtreecommitdiff
path: root/stevedore/hook.py
diff options
context:
space:
mode:
authorDoug Hellmann <doug.hellmann@dreamhost.com>2014-01-25 12:04:22 -0500
committerDoug Hellmann <doug.hellmann@dreamhost.com>2014-01-25 12:04:22 -0500
commit8c31425bba88c9aa753fcbfa76aecb5ae7b3a680 (patch)
treef6c10cf3927cdcc223574a1933b0e9bb265fd8b2 /stevedore/hook.py
parent8a67d41e7a75da37fb5b37571833218c8ce5de53 (diff)
downloadstevedore-8c31425bba88c9aa753fcbfa76aecb5ae7b3a680.tar.gz
Update docstrings
A previous change added an argument to several methods without updating their docstrings to describe it. Change-Id: I10c753a2d935c0a4ae87ff9258c91f1530d398db
Diffstat (limited to 'stevedore/hook.py')
-rw-r--r--stevedore/hook.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/stevedore/hook.py b/stevedore/hook.py
index 16fa37d..334fa60 100644
--- a/stevedore/hook.py
+++ b/stevedore/hook.py
@@ -19,6 +19,11 @@ class HookManager(NamedExtensionManager):
the object returned by the entry point. Only used if invoke_on_load
is True.
:type invoke_kwds: dict
+ :param on_load_failure_callback: Callback function that will be called when
+ a entrypoint can not be loaded. The arguments that will be provided
+ when this is called (when an entrypoint fails to load) are
+ (manager, entrypoint, exception)
+ :type on_load_failure_callback: function
"""
def __init__(self, namespace, name,