-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Blobstore API with Google Cloud Storage samples #709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
||
# This handler creates a file in Cloud Storage using the cloudstorage | ||
# client library and then reads the data back using the Blobstore API. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary blank line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: sentence needs a period. (throughout please)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
||
# This handler creates a file in Cloud Storage using the cloudstorage | ||
# client library and then serves the file back using the Blobstore API. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary blank line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
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