

def __init__(self, query_instance, response):
    self._response = response
    self._predictions = []
    for prediction in response['predictions']:
        self._predictions.append(Prediction(query_instance, prediction))

dataset/ETHPy150Open slimkrazy/python-google-places/googleplaces/__init__.py GoogleAutocompleteSearchResult.__init__/original