App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine.ext.blobstore.blobstore.BlobMigrationRecord Class Reference
Inheritance diagram for google.appengine.ext.blobstore.blobstore.BlobMigrationRecord:
google.appengine.ext.db.Model

Public Member Functions

def kind
 
def get_by_blob_key
 
def get_new_blob_key
 
- Public Member Functions inherited from google.appengine.ext.db.Model
def __new__
 
def __init__
 
def key
 
def put
 
def delete
 
def is_saved
 
def has_key
 
def dynamic_properties
 
def instance_properties
 
def parent
 
def parent_key
 
def to_xml
 
def get
 
def get_by_key_name
 
def get_by_id
 
def get_or_insert
 
def all
 
def gql
 
def from_entity
 
def kind
 
def entity_type
 
def properties
 
def fields
 

Static Public Attributes

tuple new_blob_ref = BlobReferenceProperty(indexed=False, name='new_blob_key')
 
- Static Public Attributes inherited from google.appengine.ext.db.Model
 save = put
 

Detailed Description

A model that records the result of a blob migration.

Member Function Documentation

def google.appengine.ext.blobstore.blobstore.BlobMigrationRecord.get_by_blob_key (   cls,
  old_blob_key 
)
Fetches the BlobMigrationRecord for the given blob key.

Args:
  old_blob_key: The blob key used in the previous app.

Returns:
  A instance of blobstore.BlobMigrationRecord or None
def google.appengine.ext.blobstore.blobstore.BlobMigrationRecord.get_new_blob_key (   cls,
  old_blob_key 
)
Looks up the new key for a blob.

Args:
  old_blob_key: The original blob key.

Returns:
  The blobstore.BlobKey of the migrated blob.

The documentation for this class was generated from the following file: