FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Blobstore API with Google Cloud Storage samples by ryanmats · Pull Request #709 · GoogleCloudPlatform/python-docs-samples · GitHub

Blobstore API with Google Cloud Storage samples - #709

Merged
theacodes merged 12 commits into
masterfrom
blobstore-samples
Jan 5, 2017
Merged

Blobstore API with Google Cloud Storage samples#709
theacodes merged 12 commits into
masterfrom
blobstore-samples

Conversation

ryanmats commented Dec 9, 2016

Copy link
Copy Markdown
Contributor

Moved Blobstore API samples to api folder.
Added "Blobstore API with Google Cloud Storage" samples (taken from https://cloud.google.com/appengine/docs/python/blobstore/ and modified to work) to gcs folder

googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 9, 2016

# This handler creates a file in Cloud Storage using the cloudstorage
# client library and then reads the data back using the Blobstore API.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Unnecessary blank line.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

done

# Cloud Storage file names are in the format /bucket/object.
filename = '/{}/blobstore_demo'.format(bucket)

# Create a file in Google Cloud Storage and write something to it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

nit: sentence needs a period. (throughout please)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

done


# This handler creates a file in Cloud Storage using the cloudstorage
# client library and then serves the file back using the Blobstore API.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Unnecessary blank line.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

done

theacodes merged commit 9da144a into master Jan 5, 2017
theacodes deleted the blobstore-samples branch January 5, 2017 17:43
chalmerlowe pushed a commit that referenced this pull request Apr 7, 2026
#709)

* samples: Add snippets for upload/download from file-like object/stream

* change sample region tags to be uniform with other libraries

* lint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL