pool – Pool module for use with a MongoDB client. — PyMongo 2.5 documentation

### Navigation

- index
- modules |
- next |
- previous |
- PyMongo 2.5 documentation »
- API Documentation »
- `pymongo` – Python driver for MongoDB »

# `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

### Navigation

- index
- modules |
- next |
- previous |
- PyMongo 2.5 documentation »
- API Documentation »
- `pymongo` – Python driver for MongoDB »