def get_blobinfo(blob_key):
 datastore_key = datastore.Key.from_path(blobstore.BLOB_INFO_KIND, blob_key, namespace='')
 try:
  return datastore.Get(datastore_key)
 except datastore_errors.EntityNotFoundError:
  return None

def get_blobinfo ( blob_key ) : datastore_key = datastore . Key . from_path ( blobstore . BLOB_INFO_KIND , blob_key , namespace = '' ) try : return datastore . Get ( datastore_key ) except datastore_errors . EntityNotFoundError : return None
get blobinfo from the datastore given its key .