PYTHON-1782 Restore backwards compatibility of MongoClient initialization when passing a type_registry
This commit is contained in:
parent
1b0b17450a
commit
76ef2b473f
@ -98,9 +98,9 @@ class MongoClient(common.BaseObject):
|
||||
host=None,
|
||||
port=None,
|
||||
document_class=dict,
|
||||
type_registry=None,
|
||||
tz_aware=None,
|
||||
connect=None,
|
||||
type_registry=None,
|
||||
**kwargs):
|
||||
"""Client for a MongoDB instance, a replica set, or a set of mongoses.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user