Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to start a transaction? #50

Open
poiuytrez opened this issue Oct 8, 2021 · 1 comment
Open

How to start a transaction? #50

poiuytrez opened this issue Oct 8, 2021 · 1 comment

Comments

@poiuytrez
Copy link

poiuytrez commented Oct 8, 2021

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

@ignasbol
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants