FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(db_api): use correct connection attribute when handling Aborted errors by HemangChothani · Pull Request #228 · googleapis/python-spanner · GitHub

This repository was archived by the owner on Jun 8, 2026. It is now read-only.
/ python-spanner Public archive

fix(db_api): use correct connection attribute when handling Aborted errors - #228

Merged
larkee merged 1 commit into
googleapis:masterfrom
MaxxleLLC:spanner_issue_225
Feb 15, 2021
Merged

larkee merged 1 commit into
googleapis:masterfrom
MaxxleLLC:spanner_issue_225

Conversation

Copy link
Copy Markdown
Contributor

Fixes #225

This PR include error related unit tests to raise the coverage of "DB_API".

HemangChothani requested review from a team and c24t February 8, 2021 10:57
product-auto-label Bot added the api: spanner Issues related to the googleapis/python-spanner API. label Feb 8, 2021
google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Feb 8, 2021
HemangChothani requested a review from larkee February 8, 2021 10:59

larkee commented Feb 9, 2021

Copy link
Copy Markdown
Contributor

Thank you for making this PR! Improved test coverage is always appreciated. Are there plans to improve the coverage for google/cloud/spanner_dbapi/utils.py and google/cloud/spanner_dbapi/connection.py as well?

Copy link
Copy Markdown
Contributor Author

Yes, I will open other PR soon.

larkee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks again!

larkee changed the title fix(db_api): connection attribute of connection class and include related unit tests fix(db_api): use correct connection attribute when handling Aborted errors Feb 15, 2021
larkee merged commit 4afea77 into googleapis:master Feb 15, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

db_api: cursor class doesn't have _connection attribute

2 participants


Back | FazBrowse Home | New Git URL