Skip to content

Commit

Permalink
Merge pull request #1407 from dhermes/ditch-iso-level
Browse files Browse the repository at this point in the history
Removing use of isolation level in datastore.
  • Loading branch information
dhermes committed Jan 29, 2016
2 parents 8960445 + cba1051 commit cf06ef8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions gcloud/datastore/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,6 @@ def begin_transaction(self, project):
:returns: The serialized transaction that was begun.
"""
request = _datastore_pb2.BeginTransactionRequest()
request.isolation_level = (
_datastore_pb2.BeginTransactionRequest.SERIALIZABLE)
response = self._rpc(project, 'beginTransaction', request,
_datastore_pb2.BeginTransactionResponse)
return response.transaction
Expand Down
1 change: 0 additions & 1 deletion gcloud/datastore/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,6 @@ def test_begin_transaction(self):
rq_class = datastore_pb2.BeginTransactionRequest
request = rq_class()
request.ParseFromString(cw['body'])
self.assertEqual(request.isolation_level, rq_class.SERIALIZABLE)

def test_commit_wo_transaction(self):
from gcloud._testing import _Monkey
Expand Down

0 comments on commit cf06ef8

Please sign in to comment.