def get_valid_salt_views():
    ret = {}

    ret['minions'] = {}
    ret['minions']['map'] = "function( doc ){ emit( doc.id, null ); }"
    ret['minions']['reduce'] = \
            "function( keys,values,rereduce ){ return key[0]; }"

    ret['by-minion-fun-timestamp'] = {}
    ret['by-minion-fun-timestamp']['map'] = \
            "function( doc ){ emit( [doc.id,doc.fun,doc.timestamp], doc ); }"
    return ret
Has this nomination been rejected?
dataset/ETHPy150Open saltstack/salt/salt/returners/couchdb_return.py/get_valid_salt_views--crossover with--dataset/ETHPy150Open mozilla/django-badger/badger/models.py/Nomination.is_rejected