def filter2(func):
    return lambda arg,value2: set(x for (x,y) in func(arg) if y == value2)
Return a list of the instances that are on the provider.
dataset/ETHPy150Open Microsoft/ivy/src/ivy/ivy_utils.py/filter2--crossover with--dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/qingcloud.py/list_nodes