def __init__(self, results_list, order="<STR_LIT>"):
results = []<EOL>for index, result in enumerate(results_list):<EOL><INDENT>results.append(Location(result["<STR_LIT>"], order=order))<EOL>self.lookups[result["<STR_LIT>"]] = index<EOL><DEDENT>super(LocationCollection, self).__init__(results)<EOL>self.order = order<EOL>
Loads the individual responses into an internal list and uses the query
values as lookup keys.