Skip to content

Commit

Permalink
Added support for batch method
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoLopez committed Nov 22, 2023
1 parent 0de34b1 commit ad49f8c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mockfirestore/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,7 @@ def get_all(self, references: Iterable[DocumentReference],
def transaction(self, **kwargs) -> Transaction:
return Transaction(self, **kwargs)

def batch(self) -> Transaction:
return Transaction(self)


0 comments on commit ad49f8c

Please sign in to comment.