From 42567486af30100e55b799f2a55da28e593b7999 Mon Sep 17 00:00:00 2001 From: Pontus Melke Date: Tue, 24 Nov 2015 14:12:12 +0100 Subject: [PATCH] Updated stale readme. The provided example was no longer running due to code changes. --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 3b7c042c7..f633984ab 100644 --- a/README.rst +++ b/README.rst @@ -4,8 +4,8 @@ Neo4j Bolt Driver for Python .. code:: python - import neo4j - driver = neo4j.driver("bolt://localhost") + from neo4j import GraphDatabase + driver = GraphDatabase.driver("bolt://localhost") session = driver.session() session.run("CREATE (a:Person {name:'Bob'})") for name, in session.run("MATCH (a:Person) RETURN a.name AS name"):