from txmongo import MongoConnectionPool MongoConnectionPool dir _Conne

1
2
3
4
5
6
>>> from txmongo import MongoConnectionPool
>>> t = MongoConnectionPool()
>>> dir(t)
['_ConnectionPool__index', '_ConnectionPool__pool', '_ConnectionPool__pool_size', '_ConnectionPool__uri', '__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattr__', '__getattribute__', '__getitem__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'authenticate_with_nonce', 'cred_cache', 'disconnect', 'get_authenticated_protocol', 'getprotocol', 'getprotocols', 'uri']
>>> t.addErrBack(str)
Database(Collection(addErrBack, _factory), u"<type 'str'>")