def pop(key, default=None):
    store = load()
    val = store.pop(key, default)
    dump(store)
    return val
Pop (return & delete) a value from the minion datastore
dataset/ETHPy150Open saltstack/salt/salt/modules/data.py/pop