-
Notifications
You must be signed in to change notification settings - Fork 62
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
document.get() does not support argument 'transactions' #72
Comments
Having the same issue. @agherasim your solution works. Should also update |
@ignasbol forgot to merge the changes. I pushed the changes addressing |
@mdowds would you be able to review this PR and merge the changes? |
@mdowds Please checkout this PR. I really need this fix to solve this issue in our project. |
@alexjolig, this repo seems unmaintained, unfortunately. What I ended up doing was to create a fork of it, fix issues, and use it as a local dependency. |
Reference:
python-mock-firestore/mockfirestore/document.py
Line 42 in 0de34b1
While mocking fireo ORM, get queries cannot execute due to missing
transactions
argument for document.get() method. Google Firestore v1 library provides transactions argument: https://github.com/googleapis/python-firestore/blob/2d42731996586fd63e9b8453b0eb627d3e23a310/google/cloud/firestore_v1/document.py#L362The text was updated successfully, but these errors were encountered: