App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.api.datastore_types.BlobKey Class Reference
Inheritance diagram for google.appengine.api.datastore_types.BlobKey:

Public Member Functions

def __init__
 
def __str__
 
def __repr__
 
def __cmp__
 
def __hash__
 
def ToXml
 

Detailed Description

Key used to identify a blob in Blobstore.

This object wraps a string that gets used internally by the Blobstore API
to identify application blobs.  The BlobKey corresponds to the entity name
of the underlying BlobReference entity.

This class is exposed in the API in both google.appengine.ext.db and
google.appengine.ext.blobstore.

Constructor & Destructor Documentation

def google.appengine.api.datastore_types.BlobKey.__init__ (   self,
  blob_key 
)
Constructor.

Used to convert a string to a BlobKey.  Normally used internally by
Blobstore API.

Args:
  blob_key:  Key name of BlobReference that this key belongs to.

Member Function Documentation

def google.appengine.api.datastore_types.BlobKey.__repr__ (   self)
Returns an eval()able string representation of this key.

Returns a Python string of the form 'datastore_types.BlobKey(...)'
that can be used to recreate this key.

Returns:
  string
def google.appengine.api.datastore_types.BlobKey.__str__ (   self)
Convert to string.

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