Skip to content

Commit 214f4ea

Browse files
committed
PYTHON-1782 Restore backwards compatibility of MongoClient initialization when passing a type_registry
(cherry picked from commit 76ef2b4)
1 parent f887707 commit 214f4ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/mongo_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ def __init__(
9595
host=None,
9696
port=None,
9797
document_class=dict,
98-
type_registry=None,
9998
tz_aware=None,
10099
connect=None,
100+
type_registry=None,
101101
**kwargs):
102102
"""Client for a MongoDB instance, a replica set, or a set of mongoses.
103103

0 commit comments

Comments
 (0)