We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1790f3d commit 32a80b2Copy full SHA for 32a80b2
mongoengine/connection.py
@@ -166,7 +166,8 @@ def _get_connection_settings(
166
kwargs.pop("slaves", None)
167
kwargs.pop("is_slave", None)
168
169
- if "uuidRepresentation" not in kwargs:
+ keys = set(key.lower for key in kwargs.keys())
170
+ if "uuidrepresentation" not in keys:
171
warnings.warn(
172
"No uuidRepresentation is specified! Falling back to "
173
"'pythonLegacy' which is the default for pymongo 3.x. "
0 commit comments