class_docstr: MongoDB TaskRecord backend.
class_docstr_tok: ["MongoDB","TaskRecord","backend","."]
docstr: Get a specific Task Record, by msg_id.
docstr_tok: ["Get","a","specific","Task","Record",",","by","msg_id","."]
code: def get_record(self, msg_id):
      """Get a specific Task Record, by msg_id."""
      r = self._records.find_one({"msg_id": msg_id})
      if not r:
          # r will be '' if nothing is found
          raise KeyError(msg_id)
      return r
  
file_path: ipyparallel/ipyparallel/controller/mongodb.py
imports: from traitlets import Dict, Instance, List, Unicode
  from .dictdb import BaseDB
label_desc: Use image node_id 4 for calling the MongoDB obj's underlying member method code with example usage: obj.get_record(msg_id) and returns: r