googleapis / googleapis/google-cloud-python
Replace transaction retries with api_core implementation
Aperta
api: firestore
priority: p3
type: feature request
- Lingua principale
- Python
- Stelle
- 5.4k
- Fork
- 1.8k
- Merge medio
- 3g 4h
- PR unite (30g)
- 122
Descrizione
Transaction-level retries currently use a hand-rolled implementation within [Transactional.__call__](https://github.com/googleapis/python-firestore/blob/8ddb859c8178043c0dcd09c85d68ba5d311563bf/google/cloud/firestore_v1/transaction.py#L244), AsyncTransactional.__call__, and [_commit_with_retry](https://github.com/googleapis/python-firestore/blob/8ddb859c8178043c0dcd09c85d68ba5d311563bf/google/cloud/firestore_v1/transaction.py#L309)
We should replace these with the standard api_core.Retry gunctionality, to remove duplicated code
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.