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

fix(db_api): move connection validation into a separate method #543

Merged
merged 6 commits into from Sep 7, 2021

Conversation

IlyaFaer
Copy link
Contributor

@IlyaFaer IlyaFaer added the api: spanner Issues related to the googleapis/python-spanner API. label Aug 27, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 27, 2021
@IlyaFaer IlyaFaer marked this pull request as ready for review August 27, 2021 09:46
@IlyaFaer IlyaFaer requested a review from a team as a code owner August 27, 2021 09:46
@IlyaFaer IlyaFaer requested a review from larkee August 27, 2021 09:46
Copy link
Contributor

@larkee larkee left a comment

Choose a reason for hiding this comment

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

This PR will not behave as intended against production. Please add system tests.

tests/unit/spanner_dbapi/test_connection.py Show resolved Hide resolved
google/cloud/spanner_dbapi/connection.py Outdated Show resolved Hide resolved
google/cloud/spanner_dbapi/connection.py Outdated Show resolved Hide resolved
Copy link
Contributor

@larkee larkee left a comment

Choose a reason for hiding this comment

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

LGTM with the docstring addition

google/cloud/spanner_dbapi/connection.py Show resolved Hide resolved
@skuruppu skuruppu merged commit 237ae41 into googleapis:main Sep 7, 2021
@IlyaFaer IlyaFaer deleted the connection_validate branch September 7, 2021 07:15
gcf-merge-on-green bot pushed a commit that referenced this pull request Sep 21, 2021
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
3 participants