From 76ef2b473f9933699da98c1e597f410202f53985 Mon Sep 17 00:00:00 2001 From: Prashant Mital Date: Thu, 21 Mar 2019 17:19:45 -0700 Subject: [PATCH] PYTHON-1782 Restore backwards compatibility of MongoClient initialization when passing a type_registry --- pymongo/mongo_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymongo/mongo_client.py b/pymongo/mongo_client.py index c53fb689e..7af10ee50 100644 --- a/pymongo/mongo_client.py +++ b/pymongo/mongo_client.py @@ -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.