googleapis / googleapis/google-cloud-python

Reconsider DeadlineExceeded error

未關閉
#15,313 1 則留言 0 個 reaction 已指派 1 人 已被 @daniel-sanche 認領 在 GitHub 檢視
api: bigtable priority: p3 type: cleanup
主要語言
Python
星號
5.4k
分支
1.8k
平均合併
2 天 23 小時
30 天內合併 PR
123

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。