Skip to content

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

@saakethmm

Description

@saakethmm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions