def _GetBlobstoreMetadata(blob_key):
 try:
  blob_info = datastore.Get(datastore.Key.from_path(blobstore.BLOB_INFO_KIND, blob_key, namespace=''))
  return (blob_info['size'], blob_info['content_type'], blob_key)
 except datastore_errors.EntityNotFoundError:
  return (None, None, None)

def _GetBlobstoreMetadata ( blob_key ) : try : blob_info = datastore . Get ( datastore . Key . from_path ( blobstore . BLOB_INFO_KIND , blob_key , namespace = '' ) ) return ( blob_info [ 'size' ] , blob_info [ 'content_type' ] , blob_key ) except datastore_errors . EntityNotFoundError : return ( None , None , None )
retreive metadata about a blobstore blob from the blob_key .