summaryrefslogtreecommitdiffstats
path: root/ipalib/backend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/backend.py')
-rw-r--r--ipalib/backend.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipalib/backend.py b/ipalib/backend.py
index bb8d31012..f2741abec 100644
--- a/ipalib/backend.py
+++ b/ipalib/backend.py
@@ -36,6 +36,14 @@ class Backend(plugable.Plugin):
class Connectible(Backend):
+ """
+ Base class for backend plugins that create connections.
+
+ In addition to the nicety of providing a standard connection API, all
+ backend plugins that create connections should use this base class so that
+ `request.destroy_context()` can properly close all open connections.
+ """
+
def connect(self, *args, **kw):
"""
Create thread-local connection.