Skip to content

Commit 2e88154

Browse files
committed
Add option to import neo4j for latest version
1 parent 0c4af5c commit 2e88154

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

neo4j/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,12 @@
2020

2121

2222
from .meta import version as __version__
23+
24+
# Export current (v1) API. This should be updated to export the latest
25+
# version of the API when a new one is added. This gives the option to
26+
# `import neo4j.vX` for a specific version or `import neo4j` for the
27+
# latest.
28+
from .v1.constants import *
29+
from .v1.exceptions import *
30+
from .v1.session import *
31+
from .v1.types import *

0 commit comments

Comments
 (0)