Eve Exception: duplicate config_prefix "MONGO"` Eve Exception: duplicate config_prefix "MONGO"` flask flask

Eve Exception: duplicate config_prefix "MONGO"`


PyMongo has already been initialized for you and is ready to be consumed at app.data.driver.

Try with the following:

mongo = app.data.driverprint mongo.db.activity.count()