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

        sql = '''SELECT `load` FROM `jids` WHERE `jid` = %s;'''
        cur.execute(sql, (jid,))
        data = cur.fetchone()
        if data:
            return json.loads(data[0])
        return {}
Return the load data that marks a specified jid
dataset/ETHPy150Open saltstack/salt/salt/returners/mysql.py/get_load