| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
|
||
| # 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.
Unnecessary blank line.
Sorry, something went wrong.
There was a problem hiding this comment.
done
Sorry, something went wrong.
| # 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.
nit: sentence needs a period. (throughout please)
Sorry, something went wrong.
There was a problem hiding this comment.
done
Sorry, something went wrong.
|
|
||
| # 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.
Unnecessary blank line.
Sorry, something went wrong.
There was a problem hiding this comment.
done
Sorry, something went wrong.
#709) * samples: Add snippets for upload/download from file-like object/stream * change sample region tags to be uniform with other libraries * lint
| Back | FazBrowse Home | New Git URL |
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