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

Add support for discovering the connection string to recreate a MongoClient

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: