

def query(self, **kwargs):
    with warnings.catch_warnings():
        warnings.simplefilter('always')
        warnings.warn('The query API is deprecated. Please use nearby_search.', DeprecationWarning, stacklevel=2)
    return self.nearby_search(**kwargs)

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