Skip to content

Commit 423e1e5

Browse files
committed
Add missing await
1 parent f2def4b commit 423e1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo4j/_async/work/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ async def begin_transaction(self, metadata=None, timeout=None):
295295
# TODO: Implement TransactionConfig consumption
296296

297297
if self._auto_result:
298-
self._auto_result.consume()
298+
await self._auto_result.consume()
299299

300300
if self._transaction:
301301
raise TransactionError("Explicit transaction already open")

0 commit comments

Comments
 (0)