Skip to content

Commit 80db724

Browse files
committed
add comment on latest change
1 parent ef15c5f commit 80db724

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mongoengine/connection.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ def _get_connection_settings(
166166
kwargs.pop("slaves", None)
167167
kwargs.pop("is_slave", None)
168168

169-
keys = set(key.lower() for key in kwargs.keys())
169+
keys = {
170+
key.lower() for key in kwargs.keys()
171+
} # pymongo options are case insensitive
170172
if "uuidrepresentation" not in keys:
171173
warnings.warn(
172174
"No uuidRepresentation is specified! Falling back to "

0 commit comments

Comments
 (0)