googleapis / python-firestore

Apache License 2.0
219 stars 75 forks source link

fix: populate transaction attributes after commit #977

Closed daniel-sanche closed 1 month ago

daniel-sanche commented 1 month ago

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 https://github.com/googleapis/python-firestore/issues/927