Skip to content

Commit 1edae9d

Browse files
efredericksonbagerard
authored andcommitted
Update connection.py
Resolve issue where _check_name moved files between pymongo 4.8.0 and 4.9
1 parent 3305136 commit 1edae9d

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
@@ -2,7 +2,7 @@
22

33
from pymongo import MongoClient, ReadPreference, uri_parser
44
from pymongo.common import _UUID_REPRESENTATIONS
5-
from pymongo.database import _check_name
5+
from pymongo.database_shared import _check_name
66

77
# DriverInfo was added in PyMongo 3.7.
88
try:

0 commit comments

Comments
 (0)