bug fix: mongodb mechanism parameter for authentication

This commit is contained in:
Steve Nyemba 2022-05-16 11:59:46 -05:00
parent db1496dd38
commit 7c328e5106
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class Mongo :
username=username,
password=password ,
authSource=authSource,
authMechanism='SCRAM-SHA-256')
authMechanism=authMechanism)
else:
self.client = MongoClient(host,maxPoolSize=10000)