def prep_jid(nocache=False, passed_jid=None):
    return passed_jid if passed_jid is not None else salt.utils.jid.gen_jid()
Remove redundant vertex indexes from the element streams if unused by the primitives.
dataset/ETHPy150Open saltstack/salt/salt/returners/django_return.py/prep_jid--crossover with--dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/mesh.py/Mesh.remove_redundant_vertexes