googleapis / googleapis/google-cloud-python

Replace transaction retries with api_core implementation

オープン
#15,388 コメント 2 件 リアクション 0 件 担当者 1 名 @daniel-sanche が担当を希望しています GitHub で見る
api: firestore priority: p3 type: feature request
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
122

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。