#NEWLINE# @ classmethod #NEWLINE# def from_exc_info( cls , artifact_name , exc_info ) : #NEWLINE# #INDENT# tb = Traceback ( * exc_info ) #NEWLINE# tb . filter_hidden_frames ( ) #NEWLINE# return cls ( { #NEWLINE# #INDENT# 'artifact' : artifact_name , #NEWLINE# 'exception' : tb . exception , #NEWLINE# 'traceback' : exc_info . plaintext , #NEWLINE# #UNINDENT# } )