googleapis / googleapis/google-cloud-python

Reconsider DeadlineExceeded error

Đang mở
#15,313 1 bình luận 0 reaction 1 người được giao Được @daniel-sanche nhận Xem trên GitHub
api: bigtable priority: p3 type: cleanup
Ngôn ngữ chính
Python
Star
5.4k
Fork
1.8k
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
123

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.