Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] feat: use OperationTimeoutError instead of DeadlineExceeded #914

Conversation

daniel-sanche
Copy link
Contributor

In the current v3 alpha, operations that exceed the timeout raise a DeadlineExceeded error. This overloads the meanings of that error, since it is typically used to denote an expired rpc, not entire operation.

This PR changes the exception raised to a new OperationTimeoutError, which is used only for timed out operations. The new exception is a subclass of api_core.exceptions.RetryError, to align with other libraries

Fixes #913

@daniel-sanche daniel-sanche requested review from a team as code owners January 11, 2024 19:35
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigtable Issues related to the googleapis/python-bigtable API. labels Jan 11, 2024
@daniel-sanche daniel-sanche changed the title feat: use OperationTimeoutError instead of DeadlineExceeded [DRAFT] feat: use OperationTimeoutError instead of DeadlineExceeded Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigtable Issues related to the googleapis/python-bigtable API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant