code: def get_jid(jid):
      '''
      Return the return information associated with a jid
      '''
      conn, mdb = _get_conn(ret=None)
      ret = {}
      rdata = mdb.saltReturns.find({'jid': jid}, {'_id': 0})
      if rdata:
          for data in rdata:
              minion = data['minion']
              # return data in the format {<minion>: { <unformatted full return data>}}
              ret[minion] = data['full_ret']
      return ref get_jid(jid):
      '''
      Return the return information associated with a jid
      '''
      conn, mdb = _get_conn(ret=None)
      ret = {}
      rdata = mdb.saltReturns.find({'jid': jid}, {'_id': 0})
      if rdata:
          for data in rdata:
              minion = data['minion']
              # return data in the format {<minion>: { <unformatted full return data>}}
              ret[minion] = data['full_ret']
      return ret
docs: Return the return information associated with a jid