Skip to content

Commit 88a6bfa

Browse files
authored
API docs: remove wrong await (#1003)
1 parent e2448ec commit 88a6bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/neo4j/_async/work/session.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def cancel(self) -> None:
239239
240240
::
241241
242-
session = await driver.session()
242+
session = driver.session()
243243
try:
244244
... # do some work
245245
except asyncio.CancelledError:

0 commit comments

Comments
 (0)