Skip to content

Commit d5fdb10

Browse files
committed
update so we can use neo4j+s
1 parent 16d59a6 commit d5fdb10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/examples/test_driver_introduction_example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
class App:
4040

4141
def __init__(self, uri, user, password):
42-
# Aura queries use an encrypted connection
43-
self.driver = GraphDatabase.driver(uri, auth=(user, password), encrypted=True)
42+
self.driver = GraphDatabase.driver(uri, auth=(user, password))
4443

4544
def close(self):
4645
# Don't forget to close the driver connection when you are finished with it
@@ -90,8 +89,9 @@ def _find_and_return_person(tx, person_name):
9089
result = tx.run(query, person_name=person_name)
9190
return [row["name"] for row in result]
9291

92+
9393
if __name__ == "__main__":
94-
# Aura uses the "bolt+routing" protocol
94+
# Aura queries use an encrypted connection using the "neo4j+s" protocol
9595
bolt_url = "%%BOLT_URL_PLACEHOLDER%%"
9696
user = "<Username for Neo4j Aura database>"
9797
password = "<Password for Neo4j Aura database>"

0 commit comments

Comments
 (0)