Skip to content

Commit

Permalink
Update database.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ormequ authored Dec 16, 2024
1 parent 7675dc4 commit 47eda88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def query(self, query, parameters=None):
def begin(self):
if self.session is None:
self.session = self.driver.session()

if self.tx is None:
self.tx = self.session.begin_transaction()

Expand Down

0 comments on commit 47eda88

Please sign in to comment.