-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Cluster Mgmt, Connection Mgmt
-
None
-
Environment:python 3.7
import pymongo
myclient = pymongo.MongoClient("mongodb+srv://user:password@cluster0-8tbow.mongodb.net/test?retryWrites=true&w=majority")
db=myclient.admin
db.authenticate(name="udhayxxxx@gmail.com",password="password")
mydb = myclient['dbbl']
mycol = mydb["first1"]
x = mycol.insert_one(mydict)
print(x.inserted_id)