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: override django autocommit to spanner #583

Merged
merged 2 commits into from Jan 29, 2021

Conversation

HemangChothani
Copy link
Contributor

It is the same patch that used in SQLite3, it works fine with the python-spanner-django as well.

@HemangChothani HemangChothani requested a review from a team as a code owner January 28, 2021 11:17
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-django API. label Jan 28, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jan 28, 2021
@HemangChothani
Copy link
Contributor Author

Kokoro failed due to rpc error: code = ResourceExhausted desc = Project 1065521786570 cannot add 1 nodes in region us-west1 error which is not related to this PR.

Copy link
Contributor

@c24t c24t left a comment

Choose a reason for hiding this comment

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

LGTM, I confirmed this works (with autocommit on) with the django tutorial using cloud spanner and the emulator.

Thanks @HemangChothani!

@c24t c24t merged commit 7ce685d into googleapis:master Jan 29, 2021
@c24t c24t deleted the fix_dbapi_autocommmit branch January 29, 2021 08:29
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-django API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants