def __repr__(self):
print_str = '<STR_LIT:U+0020>'.join(['<STR_LIT>', self.template_name, '<STR_LIT:\n>',<EOL>'<STR_LIT>', self.id, '<STR_LIT:\n>',<EOL>'<STR_LIT>', str(self.detect_time), '<STR_LIT:\n>',<EOL>'<STR_LIT>', str(self.no_chans), '<STR_LIT:\n>',<EOL>'<STR_LIT>', str(self.chans), '<STR_LIT:\n>',<EOL>'<STR_LIT>', str(self.detect_val), '<STR_LIT:\n>',<EOL>'<STR_LIT>', str(self.threshold), '<STR_LIT:\n>',<EOL>'<STR_LIT>', self.threshold_type, '<STR_LIT:\n>',<EOL>'<STR_LIT>', str(self.threshold_input),<EOL>'<STR_LIT>', str(self.typeofdet)])<EOL>return "<STR_LIT>" + print_str + "<STR_LIT:)>"<EOL>
Simple print.