python-mock-firestore icon indicating copy to clipboard operation
python-mock-firestore copied to clipboard

How to start a transaction?

Open poiuytrez opened this issue 4 years ago • 1 comments

Most of the code snippets on how to use a transaction use the decorator @firestore.transactional. What is the proper way to use the transactions with this mock?

Official documentation: https://github.com/GoogleCloudPlatform/python-docs-samples/blob/5238ce34cb92b58ddaa2019706caacfa4d7a2009/firestore/cloud-client/snippets.py#L414

poiuytrez avatar Oct 08 '21 13:10 poiuytrez

I am looking into this as well. @poiuytrez were you able to find an answer?

ignasbol avatar Jul 19 '23 05:07 ignasbol