def gen_accept(id_, keysize=2048, force=False):
    ret = gen(id_, keysize)
    acc_path = os.path.join(__opts__['pki_dir'], 'minions', id_)
    if os.path.isfile(acc_path) and not force:
        return {}
    with salt.utils.fopen(acc_path, 'w+') as fp_:
        fp_.write(ret['pub'])
    return ret
Creates a playlist and returns its id.
dataset/ETHPy150Open saltstack/salt/salt/wheel/key.py/gen_accept--crossover with--dataset/ETHPy150Open simon-weber/gmusicapi/gmusicapi/clients/webclient.py/Webclient.create_playlist