Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

Python 2 is no longer supported by the community. We recommend that you migrate Python 2 apps to Python 3.

google.appengine.api.blobstore.dict_blob_storage module

Summary

In-memory implementation of Blobstore stub storage.

This module contains an implementation of blob_storage.BlobStorage.

Contents

class google.appengine.api.blobstore.dict_blob_storage.DictBlobStoragesource

Bases: google.appengine.api.blobstore.blob_storage.BlobStorage

Stores blobs in a dictionary.

CreateBlob(blob_key, blob)source

Stores a blob in a map.

DeleteBlob(blob_key)source

Deletes blob content.

OpenBlob(blob_key)source

Gets the blob contents as a stream.

StoreBlob(blob_key, blob_stream)source

Stores a blob stream.