![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | __str__ |
def | __repr__ |
def | __cmp__ |
def | __hash__ |
def | ToXml |
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.
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.
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.