diff --git a/code/python/example.py b/code/python/example.py index cc048a6..beff8a9 100644 --- a/code/python/example.py +++ b/code/python/example.py @@ -4,7 +4,7 @@ from neo4j import GraphDatabase, basic_auth driver = GraphDatabase.driver( - "bolt://:", + "bolt://:", auth=basic_auth("", "")) cypher_query = ''' @@ -15,9 +15,8 @@ with driver.session(database="neo4j") as session: results = session.read_transaction( lambda tx: tx.run(cypher_query, - name="Jaime Lannister").data()) - + name="Jaime Lannister").data()) for record in results: print(record['person']) -driver.close() \ No newline at end of file +driver.close()

AltStyle によって変換されたページ (->オリジナル) /