

def __init__(self, query_instance, prediction):
    self._query_instance = query_instance
    self._description = query_instance['description']
    self._id = prediction['id']
    self._matched_substrings = prediction['matched_substrings']
    self._place_id = prediction['place_id']
    self._reference = prediction['reference']
    self._terms = prediction['terms']
    self._types = prediction.get('types', [])
    if (prediction.get('_description') is None):
        self._place = None
    else:
        self._place = prediction

dataset/ETHPy150Open slimkrazy/python-google-places/googleplaces/__init__.py Prediction.__init__/VarMisuse@24/33 `prediction`->`query_instance`