You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the way Flask-Mongoengine sanitizes config input, it seems to me some settings in PyMongo are impossible to set. The init_app() method supports a config dict, but it lowercases all keys. Most optional parameters to MongoClient are camelCase, e.g. socketTimeoutMS. I realize that Flask won't accept camelCase config parameters, but there is also no way to add them as extra args to init_app(). Any advice?
The text was updated successfully, but these errors were encountered:
Because the way Flask-Mongoengine sanitizes config input, it seems to me some settings in PyMongo are impossible to set. The init_app() method supports a config dict, but it lowercases all keys. Most optional parameters to MongoClient are camelCase, e.g. socketTimeoutMS. I realize that Flask won't accept camelCase config parameters, but there is also no way to add them as extra args to init_app(). Any advice?
The text was updated successfully, but these errors were encountered: