There was an error while loading. Please reload this page.
1 parent 1cad11a commit 2bc5cefCopy full SHA for 2bc5cef
datastore/cloud-client/snippets.py
@@ -690,7 +690,7 @@ def transactional_single_entity_group_read_only(client):
690
])
691
692
# [START datastore_transactional_single_entity_group_read_only]
693
- with client.transaction():
+ with client.transaction(read_only=True):
694
task_list_key = client.key('TaskList', 'default')
695
696
task_list = client.get(task_list_key)
0 commit comments