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

Fix MongoClient repr examples in high availability docs

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.4
    • Affects Version/s: None
    • Component/s: Docs
    • Labels:
      None

      joe.drumgoole points out that our high availability docs show incorrect repr for MongoClient.

      http://api.mongodb.com/python/3.2.2/examples/high_availability.html#id1

      The current implementation of __repr__ shows the seeds passed to create the MongoClient rather than the discovered hosts.

      Update the documentation to reflect reality.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: