Skip to content

Commit 3dbbeab

Browse files
committed
Fix
1 parent b306d6c commit 3dbbeab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pymongo/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"WriteConcern",
4646
"has_c",
4747
"timeout",
48-
"uri_parser",
4948
]
5049

5150
ASCENDING = 1
@@ -106,6 +105,9 @@
106105
from pymongo.synchronous.mongo_client import MongoClient
107106
from pymongo.write_concern import WriteConcern
108107

108+
# Public module compatibility imports
109+
import pymongo.uri_parser # noqa: F401 # isort: skip
110+
109111
version = __version__
110112
"""Current version of PyMongo."""
111113

test/test_default_exports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"ConfigurationError",
3535
"WriteConcern",
3636
]
37-
PYMONGO_IGNORE = ["uri_parser"]
37+
PYMONGO_IGNORE = []
3838
GLOBAL_INGORE = ["TYPE_CHECKING", "annotations"]
3939

4040

0 commit comments

Comments
 (0)