Skip to content

Commit 25c87c4

Browse files
committed
Minor doc and import updates
1 parent 36966a7 commit 25c87c4

File tree

11 files changed

+15
-11
lines changed

11 files changed

+15
-11
lines changed

README.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Neo4j Bolt Driver for Python
44

55
The official Neo4j driver for Python supports Neo4j 3.0 and above and Python versions 2.7, 3.4, 3.5, 3.6, and 3.7.
66

7+
.. note::
8+
9+
Python 2 support is deprecated and will be discontinued for the 2.x series driver releases.
10+
711

812
Quick Example
913
=============
@@ -55,7 +59,7 @@ Other Information
5559
* `Example Project`_
5660
* `Driver Wiki`_ (includes change logs)
5761

58-
.. _`Neo4j Manual`: https://neo4j.com/docs/
62+
.. _`Neo4j Manual`: https://neo4j.com/docs/developer-manual/current/drivers/
5963
.. _`Neo4j Quick Reference Card`: https://neo4j.com/docs/cypher-refcard/current/
6064
.. _`Example Project`: https://github.com/neo4j-examples/movies-python-bolt
6165
.. _`Driver Wiki`: https://github.com/neo4j/neo4j-python-driver/wiki

test/performance/jexp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from threading import Thread
2626
from timeit import default_timer as time
2727

28-
from neo4j.v1 import GraphDatabase, CypherError
28+
from neo4j import GraphDatabase, CypherError
2929

3030

3131
class Runner(Thread):

test/performance/stress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
from threading import Thread
2323
from timeit import default_timer as time
2424

25-
from neo4j.v1 import GraphDatabase, CypherError
25+
from neo4j import GraphDatabase, CypherError
2626

2727

2828
class Runner(Thread):

test/performance/test_results.py

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

2424
from pytest import mark
2525

26-
from neo4j.v1 import GraphDatabase
26+
from neo4j import GraphDatabase
2727
from .tools import GraphDatabaseServer
2828

2929

test/performance/tools.py

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

3535
from boltkit.controller import WindowsController, UnixController
3636

37-
from neo4j.v1 import GraphDatabase
37+
from neo4j import GraphDatabase
3838
from neo4j.exceptions import AuthError
3939

4040
from test.env import NEO4J_SERVER_PACKAGE, NEO4J_USER, NEO4J_PASSWORD

test/stub/test_accesslevel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# limitations under the License.
2020

2121

22-
from neo4j.v1 import GraphDatabase, CypherError, TransientError
22+
from neo4j import GraphDatabase, CypherError, TransientError
2323

2424
from test.stub.tools import StubTestCase, StubCluster
2525

test/stub/test_bookmarking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# limitations under the License.
2020

2121

22-
from neo4j.v1 import GraphDatabase, READ_ACCESS
22+
from neo4j import GraphDatabase, READ_ACCESS
2323

2424
from test.stub.tools import StubTestCase, StubCluster
2525

test/stub/test_directdriver.py

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

2222
from neobolt.exceptions import ServiceUnavailable
2323

24-
from neo4j.v1 import GraphDatabase, DirectDriver
24+
from neo4j import GraphDatabase, DirectDriver
2525

2626
from test.stub.tools import StubTestCase, StubCluster
2727

test/stub/test_routingdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
LOAD_BALANCING_STRATEGY_ROUND_ROBIN, RoutingProtocolError
2525

2626
from neo4j.exceptions import ClientError
27-
from neo4j.v1 import GraphDatabase, READ_ACCESS, WRITE_ACCESS, SessionExpired, RoutingDriver, TransientError
27+
from neo4j import GraphDatabase, READ_ACCESS, WRITE_ACCESS, SessionExpired, RoutingDriver, TransientError
2828

2929
from test.stub.tools import StubTestCase, StubCluster
3030

test/unit/test_record.py

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

2222
from unittest import TestCase
2323

24-
from neo4j.v1 import Record
24+
from neo4j import Record
2525

2626

2727
class RecordTestCase(TestCase):

0 commit comments

Comments
 (0)