def _repr_html_(self):
rows = '<STR_LIT>'<EOL>s = '<STR_LIT>'<EOL>for k, v in self.__dict__.items():<EOL><INDENT>rows += s.format(k=k, v=v)<EOL><DEDENT>html = '<STR_LIT>'.format(rows)<EOL>return html<EOL>
Jupyter Notebook magic repr function.