googleapis / googleapis/google-cloud-python
Reconsider DeadlineExceeded error
Aperta
api: bigtable
priority: p3
type: cleanup
- Lingua principale
- Python
- Stelle
- 5.4k
- Fork
- 1.8k
- Merge medio
- 3g 4h
- PR unite (30g)
- 122
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.