Skip to content

Conversation

@daniel-sanche
Copy link
Contributor

Transaction and AsyncTransaction inherit from Batch, which includes fields to store write_results and commit_time after commit is complete, but they are currently not populated for Transaction types. This PR addresses this by populating the fields with the commit response

Fixes #927

@daniel-sanche daniel-sanche requested review from a team as code owners October 22, 2024 22:43
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Oct 22, 2024
@product-auto-label product-auto-label bot added the api: firestore Issues related to the googleapis/python-firestore API. label Oct 22, 2024
@kevkim-codes kevkim-codes merged commit aa3c0a3 into main Oct 25, 2024
22 checks passed
@kevkim-codes kevkim-codes deleted the transaction_commit_time branch October 25, 2024 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: firestore Issues related to the googleapis/python-firestore API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commit time and write results aren't set after the transaction is committed via decorated transactional function

3 participants