Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb2c633

Browse files
authored
fix: Updates region to include tasks: datastore_batch_upsert (GoogleCloudPlatform#2212)
* fix: Updates region to include tasks: datastore_batch_upsert * docs: Fix README grammar * fix: remove extra files
1 parent 951ac8e commit fb2c633

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This repository holds the samples used in the python documentation on [cloud.goo
1010
[![Build Status](https://travis-ci.org/GoogleCloudPlatform/python-docs-samples.svg)](https://travis-ci.org/GoogleCloudPlatform/python-docs-samples)
1111
[![Coverage Status](https://coveralls.io/repos/github/GoogleCloudPlatform/python-docs-samples/badge.svg?branch=HEAD)](https://coveralls.io/github/GoogleCloudPlatform/python-docs-samples?branch=HEAD)
1212

13-
For more detailed introduction to a product, check the README.md in the
13+
For a more detailed introduction to a product, check the README.md in the
1414
corresponding folder.
1515

1616
## Contributing changes

datastore/cloud-client/snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ def delete(client):
209209

210210

211211
def batch_upsert(client):
212+
# [START datastore_batch_upsert]
212213
task1 = datastore.Entity(client.key('Task', 1))
213214

214215
task1.update({
@@ -227,7 +228,6 @@ def batch_upsert(client):
227228
'description': 'Integrate Cloud Datastore'
228229
})
229230

230-
# [START datastore_batch_upsert]
231231
client.put_multi([task1, task2])
232232
# [END datastore_batch_upsert]
233233

0 commit comments

Comments
 (0)