def _GetGoogleStorageFileMetadata(blob_key):
 try:
  gs_info = datastore.Get(datastore.Key.from_path(file_service_stub.GS_INFO_KIND, blob_key, namespace=''))
  return (gs_info['size'], gs_info['content_type'], gs_info['storage_key'])
 except datastore_errors.EntityNotFoundError:
  return (None, None, None)

def _GetGoogleStorageFileMetadata ( blob_key ) : try : gs_info = datastore . Get ( datastore . Key . from_path ( file_service_stub . GS_INFO_KIND , blob_key , namespace = '' ) ) return ( gs_info [ 'size' ] , gs_info [ 'content_type' ] , gs_info [ 'storage_key' ] ) except datastore_errors . EntityNotFoundError : return ( None , None , None )
retreive metadata about a gs blob from the blob_key .