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

Add support for discovering the connection string to recreate a MongoClient

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1
    • Affects Version/s: None
    • Component/s: None
    • None

      In the 2.x driver there used to be .host and .port properties which could be used to recreate a MongoClient (ignoring the other attributes that are passed into the constructor...)

      It would be useful if there was a way to get the connection string from the client so it can be recreated / persisted outside of Python.

            Assignee:
            luke.lovett Luke Lovett
            Reporter:
            jblackburn James Blackburn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: