Skip to content

Conversation

@vi3k6i5
Copy link
Contributor

@vi3k6i5 vi3k6i5 commented Sep 14, 2021

fix: handle google.api_core.exceptions.OutOfRange exception and throw IntegrityError as expected by dbapi standards

Fixes #570 🦕

… InegrityError as expected by dbapi standards
@vi3k6i5 vi3k6i5 requested a review from a team as a code owner September 14, 2021 09:05
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner API. label Sep 14, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 14, 2021
@vi3k6i5 vi3k6i5 requested a review from IlyaFaer September 14, 2021 11:26
@larkee larkee merged commit dffcf13 into googleapis:main Sep 14, 2021
gcf-merge-on-green bot pushed a commit that referenced this pull request Sep 21, 2021
🤖 I have created a release \*beep\* \*boop\*
---
## [3.10.0](https://www.github.com/googleapis/python-spanner/compare/v3.9.0...v3.10.0) (2021-09-17)


### Features

* set a separate user agent for the DB API ([#566](https://www.github.com/googleapis/python-spanner/issues/566)) ([b5f977e](https://www.github.com/googleapis/python-spanner/commit/b5f977ebf61527914af3c8356aeeae9418114215))


### Bug Fixes

* **db_api:** move connection validation into a separate method ([#543](https://www.github.com/googleapis/python-spanner/issues/543)) ([237ae41](https://www.github.com/googleapis/python-spanner/commit/237ae41d0c0db61f157755cf04f84ef2d146972c))
* handle google.api_core.exceptions.OutOfRange exception and throw InegrityError as expected by dbapi standards ([#571](https://www.github.com/googleapis/python-spanner/issues/571)) ([dffcf13](https://www.github.com/googleapis/python-spanner/commit/dffcf13d10a0cfb6b61231ae907367563f8eed87))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/python-spanner API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OutOfRange exception is not handled in execute call.

3 participants