googleapis / googleapis/google-cloud-python

Make the default retry predicate public

未关闭
#15,967 1 条评论 0 个 reaction 已指派 1 人 已被 @chandra-siri 认领 在 GitHub 查看
api: storage
主要语言
Python
星标
5.4k
派生
1.8k
平均合并
3 天 4 小时
30 天内合并 PR
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 摘要。