diff --git a/datastore/cloud-client/snippets.py b/datastore/cloud-client/snippets.py index 198d0257595..a319736b43e 100644 --- a/datastore/cloud-client/snippets.py +++ b/datastore/cloud-client/snippets.py @@ -21,28 +21,28 @@ def incomplete_key(client): - # [START datastore_incomplete_key] + # [START datastore_Incomplete_key] key = client.key('Task') - # [END datastore_incomplete_key] + # [END datastore_Incomplete_key] return key def named_key(client): - # [START datastore_named_key] + # [START datastore_named-key] key = client.key('Task', 'sample_task') - # [END datastore_named_key] + # [END datastore_named-key] return key def key_with_parent(client): - # [START datastore_key_with_parent] + # [START datastore_key_with_parent_2] key = client.key('TaskList', 'default', 'Task', 'sample_task') # Alternatively parent_key = client.key('TaskList', 'default') key = client.key('Task', 'sample_task', parent=parent_key) - # [END datastore_key_with_parent] + # [END datastore_key_with_parent_2] return key