Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calls to visual_behavior.database only work with specific pymongo versions #821

Open
saakethmm opened this issue Jun 14, 2022 · 1 comment

Comments

@saakethmm
Copy link

saakethmm commented Jun 14, 2022

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

@alexpiet
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants