#NEWLINE# def to_dict( self , keys_to_show = 'all' ) : #NEWLINE# #INDENT# if ( keys_to_show == 'all' ) : #NEWLINE# #INDENT# attributes_to_ignore = [ 'profile' , 'alias_rows' , 'biblio_rows' , 'percentile_snaps' , 'snaps' , 'interactions' , 'snaps_including_interactions' ] #NEWLINE# ret = dict_from_dir ( self , attributes_to_ignore ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ret = dict_from_dir ( self , keys_to_show = keys_to_show ) #NEWLINE# #UNINDENT# ret [ '_tiid' ] = self . tiid #NEWLINE# return ret