File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ Closing a driver will immediately shut down all connections in the pool.
198
198
199
199
200
200
def example(driver: neo4j.Driver) -> List[str]:
201
- \ """Get the name of all 42 year-olds.\ """
201
+ """Get the name of all 42 year-olds."""
202
202
records, summary, keys = driver.execute_query(
203
203
"MATCH (p:Person {age: $age}) RETURN p.name",
204
204
{"age": 42},
@@ -217,7 +217,7 @@ Closing a driver will immediately shut down all connections in the pool.
217
217
218
218
219
219
def example(driver: neo4j.Driver) -> int:
220
- \ """Call all young people "My dear" and get their count.\ """
220
+ """Call all young people "My dear" and get their count."""
221
221
record = driver.execute_query(
222
222
"MATCH (p:Person) WHERE p.age <= $age "
223
223
"SET p.nickname = 'My dear' "
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ Closing a driver will immediately shut down all connections in the pool.
181
181
182
182
183
183
async def example(driver: neo4j.AsyncDriver) -> List[str]:
184
- \ """Get the name of all 42 year-olds.\ """
184
+ """Get the name of all 42 year-olds."""
185
185
records, summary, keys = await driver.execute_query(
186
186
"MATCH (p:Person {age: $age}) RETURN p.name",
187
187
{"age": 42},
@@ -200,7 +200,7 @@ Closing a driver will immediately shut down all connections in the pool.
200
200
201
201
202
202
async def example(driver: neo4j.AsyncDriver) -> int:
203
- \ """Call all young people "My dear" and get their count.\ """
203
+ """Call all young people "My dear" and get their count."""
204
204
record = await driver.execute_query(
205
205
"MATCH (p:Person) WHERE p.age <= 15 "
206
206
"SET p.nickname = 'My dear' "
You can’t perform that action at this time.
0 commit comments