Added docstring to Connectible class

This commit is contained in:
Jason Gerard DeRose authored and Rob Crittenden committed 2009-02-03 15:29:03 -05:00
1 parent 66b6029e40
commit 9efda29d60
1 file changed
+8
+8
View File
@@ -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.