-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
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