mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Added docstring to Connectible class
This commit is contained in:
committed by
Rob Crittenden
parent
66b6029e40
commit
9efda29d60
@@ -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