#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# return ( isinstance ( other , Metric ) and ( self . name == other . name ) and ( self . documentation == other . documentation ) and ( self . type == other . type ) and ( self . samples == other . samples ) )