code: def get_jid(jid):
      '''
      Return the information returned when the specified job id was executed
      '''
      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] = full_ret
          return ref get_jid(jid):
      '''
      Return the information returned when the specified job id was executed
      '''
      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] = full_ret
          return ret
docs: Return the information returned when the specified job id was executed