We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 27e1b75 + cc1c0e6 commit db805c3Copy full SHA for db805c3
README.rst
@@ -24,8 +24,8 @@ Example Usage
24
25
.. code:: python
26
27
- from neo4j.v1 import GraphDatabase
28
- driver = GraphDatabase.driver("bolt://localhost")
+ from neo4j.v1 import GraphDatabase, basic_auth
+ driver = GraphDatabase.driver("bolt://localhost", auth=basic_auth("neo4j", "neo4j"))
29
session = driver.session()
30
session.run("CREATE (a:Person {name:'Bob'})")
31
result = session.run("MATCH (a:Person) RETURN a.name AS name")
0 commit comments