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

MongoReplicaSetClient doesn't parse uuidRepresentation kwarg

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.9.4
    • Affects Version/s: 2.9
    • Component/s: None
    • None

      MongoReplicaSetClient in PyMongo 2.9 forgets to set its uuid_subtype from the uuidRepresentation keyword argument. The correct answer in the examples below is "5", not "3".

      >>> MongoReplicaSetClient(replicaSet='replset', uuidRepresentation='javaLegacy').uuid_subtype
      3
      >>> MongoClient(replicaSet='replset', uuidRepresentation='javaLegacy').uuid_subtype
      5
      

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: