googleapis / googleapis/google-cloud-python

Reconsider DeadlineExceeded error

Aberta
#15,313 1 comentário 0 reações 1 responsável Reivindicada por @daniel-sanche Ver no GitHub
api: bigtable priority: p3 type: cleanup
Linguagem predominante
Python
Estrelas
5.4k
Forks
1.8k
Merge médio
3d 4h
PRs com merge (30d)
122

Descrição

Currently, we raise DeadlineExceeded if the overall operation times out, with the retries exposed as a RetryExceptionGroup attached.

Is this the right long-term decision for GA? This is a bit custom, and not how other GCP libraries handle this

Maybe a better solution would be to make a separate OperationTimeout exception, completely separate from the grpc deadline error. We can make it a subclass of RetryError in api_core, and make all libraries align on this

see https://github.com/googleapis/google-cloud-python/issues/15066

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.