Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-628

MongoReplicaSetClient() description missing replicaSet argument

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      At http://api.mongodb.org/python/current/api/pymongo/mongo_replica_set_client.html#pymongo.mongo_replica_set_client.MongoReplicaSetClient, the example call is:

      class pymongo.mongo_replica_set_client.MongoReplicaSetClient([hosts_or_uri[, max_pool_size=10[, document_class=dict[, tz_aware=False[, **kwargs]]]]])

      This is missing the required replicaSet argument. It's mentioned in the following text, but should also be in the example.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            roysmith Roy Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: