Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fb2c633

Browse filesBrowse 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
Copy full SHA for fb2c633

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1-1Lines 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

Copy file name to clipboardExpand all lines: datastore/cloud-client/snippets.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.