googleapis / googleapis/google-cloud-python

Make the default retry predicate public

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

説明

The default [_should_retry](https://github.com/googleapis/python-storage/blob/04b01ed07d3541a74fbe7de1f4bff95ed62cd311/google/cloud/storage/retry.py#L62) predicate is currently private. If there is another error that users wish to handle, the options are accessing the private member or rewriting its contents manually. Would be worth considering to make it public so that it's easily extendable.

Google internal bug for reference: b/427667409.

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

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

評価

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

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

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