def prep_jid(nocache=False, passed_jid=None):
    return passed_jid if passed_jid is not None else salt.utils.jid.gen_jid()
Do any work necessary to prepare a JID, including sending a custom ID
dataset/ETHPy150Open saltstack/salt/salt/returners/django_return.py/prep_jid