googleapis / googleapis/google-cloud-python
Make the default retry predicate public
Offen
#15,967
1 Kommentar
0 Reaktionen
1 zugewiesene Person
Beansprucht von @chandra-siri
Auf GitHub ansehen
api: storage
- Vorherrschende Sprache
- Python
- Sterne
- 5.4k
- Forks
- 1.8k
- Ø Merge
- 3 T. 4 Std.
- Gemergte PRs (30 T.)
- 122
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.