Skip to content

Commit 76ef2b4

Browse files
committed
PYTHON-1782 Restore backwards compatibility of MongoClient initialization when passing a type_registry
1 parent 1b0b174 commit 76ef2b4

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
@@ -98,9 +98,9 @@ def __init__(
9898
host=None,
9999
port=None,
100100
document_class=dict,
101-
type_registry=None,
102101
tz_aware=None,
103102
connect=None,
103+
type_registry=None,
104104
**kwargs):
105105
"""Client for a MongoDB instance, a replica set, or a set of mongoses.
106106

0 commit comments

Comments
 (0)