googleapis / googleapis/google-cloud-python
Make the default retry predicate public
Ouverte
api: storage
- Langage dominant
- Python
- Étoiles
- 5.4k
- Forks
- 1.8k
- Merge moyen
- 3 j 4 h
- PR mergées (30 j)
- 122
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.