def __repr__(self):
class_name = type(self).__name__<EOL>output = "<STR_LIT>".format(class_name)<EOL>for attr in self:<EOL><INDENT>if attr == "<STR_LIT>":<EOL><INDENT>output += "<STR_LIT>"<EOL><DEDENT>elif attr == "<STR_LIT:body>":<EOL><INDENT>output += "<STR_LIT>".format(attr, reprlib.repr(getattr(self, attr)))<EOL><DEDENT>else:<EOL><INDENT>output += "<STR_LIT>".format(attr, getattr(self, attr))<EOL><DEDENT><DEDENT>output += "<STR_LIT:)>"<EOL>return output<EOL>
repr(self) in debugging format with auth attr obfuscated.