def fetch_data(blob, start_index, end_index):
 if isinstance(blob, BlobInfo):
  blob = blob.key()
 return blobstore.fetch_data(blob, start_index, end_index)

def fetch_data ( blob , start_index , end_index ) : if isinstance ( blob , BlobInfo ) : blob = blob . key ( ) return blobstore . fetch_data ( blob , start_index , end_index )
fetch data for blob .