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

Allow users to choose transaction isolation level? #1204

Closed
jgeewax opened this issue Oct 27, 2015 · 2 comments
Closed

Allow users to choose transaction isolation level? #1204

jgeewax opened this issue Oct 27, 2015 · 2 comments
Assignees
Labels
api: datastore Issues related to the Datastore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@jgeewax
Copy link
Contributor

jgeewax commented Oct 27, 2015

I believe we currently only support the default transaction isolation level for Datastore (snapshot). Could we figure out a way to allow people to choose a serializable transaction?

See https://cloud.google.com/datastore/docs/apis/v1beta2/datasets/beginTransaction

@jgeewax jgeewax added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. api: datastore Issues related to the Datastore API. labels Oct 27, 2015
@tseaver
Copy link
Contributor

tseaver commented Oct 27, 2015

Connection.begin_transaction already takes a serializable argument: we just need to plumb that through to Transaction.__init__/Transaction.begin.

@tseaver
Copy link
Contributor

tseaver commented Oct 27, 2015

... and Client.transaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the Datastore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants