Added docstring to Connectible class
This commit is contained in:
1 parent
66b6029e40
commit
9efda29d60
1 file changed
+8
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user