pymongo has no attribute collection #246
Labels
flag: good 1st issue
Good for newcomers
priority: high
High priority
type: bug
Something isn't working
workload: hours
Likely takes hours to resolve
When using PyMongo 4.10.1, apps using FOCA throw the following error:
This does not occur with PyMongo 4.7.0, where
pymongo.collection
exists.It appears that somewhere along the line between 4.7 and 4.10, PyMongo removed the top-level collections module.
Quick workaround for apps using FOCA: Add
pymongo==4.7
to your requirements.The text was updated successfully, but these errors were encountered: