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.
2 parents a052bd3 + 0c2fd0d commit ef15c5fCopy full SHA for ef15c5f
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