Closed tonal closed 5 years ago
Thanks for reporting. PyMongo <3.9 used plain dict there...
Temporary fix is to downgrade to pymongo 3.8.0
@userlond I use monkeypath:
import pymongo
if pymongo.version_tuple == (3, 9, 0):
def _cid_copy(self):
return self.__class__(**self)
pymongo.common._CaseInsensitiveDictionary.copy = _cid_copy
versions: txmongo 19.1.0 pymongo 3.9.0
Error in txmongo/connection.py line: 259 ConnectionPool.init
Forget
copy()
inpymongo._CaseInsensitiveDictionary