def get_jid(jid):
    with _get_serv(ret=None, commit=True) as cur:

        sql = '''SELECT id, full_ret FROM `salt_returns`
                WHERE `jid` = %s'''

        cur.execute(sql, (jid,))
        data = cur.fetchall()
        ret = {}
        if data:
            for minion, full_ret in data:
                ret[minion] = json.loads(full_ret)
        return ret
When requested, the endpoint should redirect to the fallback
dataset/ETHPy150Open saltstack/salt/salt/returners/mysql.py/get_jid--crossover with--dataset/ETHPy150Open mathcamp/pypicloud/tests/test_simple.py/PackageReadTestBase.should_redirect