googleapis / googleapis/google-cloud-python

Make the default retry predicate public

Aberta
#15,967 1 comentário 0 reações 1 responsável Reivindicada por @chandra-siri Ver no GitHub
api: storage
Linguagem predominante
Python
Estrelas
5.4k
Forks
1.8k
Merge médio
2d 23h
PRs com merge (30d)
123

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.