@cache
def suggest(query):

  search_params = {
    'list': 'search',
    'srinfo': 'suggestion',
    'srprop': '',
  }
  search_params['srsearch'] = query

  raw_result = _wiki_request(search_params)

  if raw_result['query'].get('searchinfo'):
    return raw_result['query']['searchinfo']['suggestion']

  return None
Set a breakpoint at filename:breakpoint
dataset/ETHPy150Open goldsmith/Wikipedia/wikipedia/wikipedia.py/suggest--crossover with--dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/qdb.py/Cli.do_set_breakpoint