|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, client) |
| def | close (self, cursor_id, address) |
DEPRECATED - The cursor manager base class.
| def __init__ | ( | self, | |
| client | |||
| ) |
Instantiate the manager. :Parameters: - `client`: a MongoClient
| def close | ( | self, | |
| cursor_id, | |||
| address | |||
| ) |
Kill a cursor. Raises TypeError if cursor_id is not an instance of (int, long). :Parameters: - `cursor_id`: cursor id to close - `address`: the cursor's server's (host, port) pair .. versionchanged:: 3.0 Now requires an `address` argument.