pool
– Pool module for use with a MongoDB client.¶
-
class
pymongo.pool.
Request
(connection)¶ A context manager returned by
start_request()
, so you can do with client.start_request(): do_something() in Python 2.5+.
-
class
pymongo.pool.
SocketInfo
(sock, pool_id, host=None)¶ Store a socket with some metadata