Skip to content

Commit b5d9f8c

Browse files
Update connection.py
Resolve issue where _check_name moved files between pymongo 4.8.0 and 4.9
1 parent 75e7779 commit b5d9f8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongoengine/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from pymongo import MongoClient, ReadPreference, uri_parser
66
from pymongo.common import _UUID_REPRESENTATIONS
7-
from pymongo.database import _check_name
7+
from pymongo.database_shared import _check_name
88

99
# DriverInfo was added in PyMongo 3.7.
1010
try:

0 commit comments

Comments
 (0)