def get_load(jid):
    jid = _escape_jid(jid)
    conn = _get_conn()
    if conn is None:
        return None
    cur = conn.cursor()
    sql = '''SELECT jid, tgt_type, cmd, tgt, kwargs, ret, username, arg,''' \
          ''' fun FROM jids WHERE jid = %s'''
    cur.execute(sql, (jid,))
    data = cur.fetchone()
    if data:
        return _build_dict(data)
    _close_conn(conn)
    return {}
Returns the item for passed product and properties or None if there
dataset/ETHPy150Open saltstack/salt/salt/returners/postgres_local_cache.py/get_load--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/cart/models.py/Cart.get_item