def _ListIndexesResponsePbToGetResponse(response, include_schema):
 return GetResponse(results=[_NewIndexFromPb(index, include_schema) for index in response.index_metadata_list()])

def _ListIndexesResponsePbToGetResponse ( response , include_schema ) : return GetResponse ( results = [ _NewIndexFromPb ( index , include_schema ) for index in response . index_metadata_list ( ) ] )
returns a getresponse constructed from get_indexes response pb .