Skip to content

Commit 4256748

Browse files
committed
Updated stale readme.
The provided example was no longer running due to code changes.
1 parent 5ba836d commit 4256748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Neo4j Bolt Driver for Python
44

55
.. code:: python
66
7-
import neo4j
8-
driver = neo4j.driver("bolt://localhost")
7+
from neo4j import GraphDatabase
8+
driver = GraphDatabase.driver("bolt://localhost")
99
session = driver.session()
1010
session.run("CREATE (a:Person {name:'Bob'})")
1111
for name, in session.run("MATCH (a:Person) RETURN a.name AS name"):

0 commit comments

Comments
 (0)