pyop icon indicating copy to clipboard operation
pyop copied to clipboard

'Collection' object is not callable with mongo:6.0

Open Jsyro opened this issue 2 years ago • 0 comments

I don't see any notes on if there are Mongo version requirements with the MongoWrapper, however I'm getting this error when attempting to create the Provider instance using the example code.

TypeError: 'Collection' object is not callable. If you meant to call the 'authenticate' method on a 'Database' object it is failing because no such method exists.

I'm already using Mongo6.0 so i'm hoping it's compatible.

Thank you in advance!

Jsyro avatar Feb 15 '23 01:02 Jsyro