def list_resourcepools(kwargs=None, call=None):  # pylint: disable=W0613
    if call != 'function':
        log.error(
            'The list_resourcepools function must '
            'be called with -f or --function.'
        )
        return False

    conn = get_conn()
    return conn.get_resource_pools()
fieldname is the name of the field to search. text is the text
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/vsphere.py/list_resourcepools--crossover with--dataset/ETHPy150Open tallstreet/Whoosh-AppEngine/src/whoosh/query.py/SimpleQuery.__init__