visual_behavior_analysis icon indicating copy to clipboard operation
visual_behavior_analysis copied to clipboard

calls to visual_behavior.database only work with specific pymongo versions

Open saakethmm opened this issue 3 years ago • 1 comments

Calls I made to visual_behavior.database only work on pymongo==3.12.3 or below (pymongo>=4.0 does not work)

*MongoClient.database_names() was removed in the migration to version 4, so the function list_database_names() must be used instead

As shown here: https://pymongo.readthedocs.io/en/stable/migrate-to-pymongo4.html#mongoclient-database-names-is-removed

saakethmm avatar Jun 14 '22 16:06 saakethmm

@yavorska-iryna encountered this problem as well. Down-grading to pymongo=3.10.1 resolved the problem

alexpiet avatar Sep 22 '22 21:09 alexpiet