def get_record(self, msg_id):
cursor = self._db.execute("""<STR_LIT>"""%self.table, (msg_id,))<EOL>line = cursor.fetchone()<EOL>if line is None:<EOL><INDENT>raise KeyError("<STR_LIT>"%msg_id)<EOL><DEDENT>return self._list_to_dict(line)<EOL>
Get a specific Task Record, by msg_id.