Skip to content

Commit b62ce94

Browse files
committed
Cleaner mongoengine.connection.__all__
1 parent 9538662 commit b62ce94

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

mongoengine/connection.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22
from pymongo.database import _check_name
33
import six
44

5-
__all__ = ['MongoEngineConnectionError', 'connect', 'disconnect', 'disconnect_all',
6-
'register_connection', 'DEFAULT_CONNECTION_NAME', 'DEFAULT_DATABASE_NAME',
7-
'get_db', 'get_connection']
5+
__all__ = [
6+
'DEFAULT_CONNECTION_NAME',
7+
'DEFAULT_DATABASE_NAME',
8+
'MongoEngineConnectionError',
9+
'connect',
10+
'disconnect',
11+
'disconnect_all',
12+
'get_connection',
13+
'get_db',
14+
'register_connection',
15+
]
816

917

1018
DEFAULT_CONNECTION_NAME = 'default'

0 commit comments

Comments
 (0)