class_docstr: SQLite3 TaskRecord backend.
docstr: Add a new Task Record, by msg_id.
docstr_tok: ["Add","a","new","Task","Record",",","by","msg_id","."]
code: def add_record(self, msg_id, rec):
      """Add a new Task Record, by msg_id."""
      d = self._defaults()
      d.update(rec)
      d["msg_id"] = msg_id
      line = self._dict_to_list(d)
      tups = "(%s)" % (",".join(["?"] * len(line)))
      self._db.execute(
          f"INSERT INTO '{self.table}' VALUES {tups}", line
      )
  
imports: import json
  import os
  from datetime import datetime
  from dateutil.parser import parse
  from tornado import ioloop
  from traitlets import Dict, Instance, List, Unicode
  from ..util import ensure_timezone, extract_dates
  from .dictdb import BaseDB
label_desc: Use image node_id 9 for calling the SQLiteDB obj's underlying member method code with example usage: obj.add_record(msg_id, rec) without return types