diff --git a/neo4j/_async/work/session.py b/neo4j/_async/work/session.py index bedf2915a..f1ba97da2 100644 --- a/neo4j/_async/work/session.py +++ b/neo4j/_async/work/session.py @@ -295,7 +295,7 @@ async def begin_transaction(self, metadata=None, timeout=None): # TODO: Implement TransactionConfig consumption if self._auto_result: - self._auto_result.consume() + await self._auto_result.consume() if self._transaction: raise TransactionError("Explicit transaction already open")