Skip to content

Commit

Permalink
Fixed commit error
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoLopez committed Nov 22, 2023
1 parent ad49f8c commit e392dc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mockfirestore/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ def transaction(self, **kwargs) -> Transaction:
return Transaction(self, **kwargs)

def batch(self) -> Transaction:
return Transaction(self)
batch = Transaction(self)
batch._begin()
return batch


0 comments on commit e392dc2

Please sign in to comment.