Did I find the right examples for you? yes no

All Samples(8)  |  Call(0)  |  Derive(0)  |  Import(8)
Tools for connecting to a MongoDB replica set.

.. seealso:: :doc:`/examples/high_availability` for more examples of
   how to connect to a replica set.

To get a :class:`~pymongo.database.Database` instance from a
:class:`MongoReplicaSetClient` use either dictionary-style or
attribute-style access:

.. doctest::(more...)

src/m/o/motor-HEAD/motor/__init__.py   motor(Download)
import pymongo.errors
import pymongo.mongo_client
import pymongo.mongo_replica_set_client
import pymongo.son_manipulator
import gridfs

src/m/o/motor-0.2/motor/__init__.py   motor(Download)
import pymongo.errors
import pymongo.mongo_client
import pymongo.mongo_replica_set_client
import pymongo.son_manipulator
import gridfs

src/f/l/Flask-PyMongo-0.3.0/flask_pymongo/wrappers.py   Flask-PyMongo(Download)
from pymongo import mongo_client
from pymongo import database
from pymongo import mongo_replica_set_client
 
from flask import abort

src/f/l/flask-pymongo-HEAD/flask_pymongo/wrappers.py   flask-pymongo(Download)
from pymongo import mongo_client
from pymongo import database
from pymongo import mongo_replica_set_client
 
from flask import abort

src/m/o/motor-HEAD/test/test_motor_replica_set.py   motor(Download)
 
import pymongo.errors
import pymongo.mongo_replica_set_client
from tornado import iostream, gen
from tornado.testing import gen_test

src/m/o/motor-HEAD/test/motor_client_test_generic.py   motor(Download)
 
import pymongo.errors
import pymongo.mongo_replica_set_client
from tornado import gen
from tornado.testing import gen_test

src/m/o/motor-0.2/test/test_motor_replica_set.py   motor(Download)
 
import pymongo.errors
import pymongo.mongo_replica_set_client
from nose.plugins.skip import SkipTest
from tornado import iostream, gen

src/m/o/motor-0.2/test/motor_client_test_generic.py   motor(Download)
 
import pymongo.errors
import pymongo.mongo_replica_set_client
from nose.plugins.skip import SkipTest
from tornado import gen