

def get_load(jid):
    '\n    Return the load data that marks a specified jid\n    '
    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 {
            
        }

dataset/ETHPy150Open saltstack/salt/salt/returners/mysql.py get_load/original