#NEWLINE# def evaluate_leaf( self , node , qn , connection ) : #NEWLINE# #INDENT# col = find_col_by_node ( self . cols , qn ) #NEWLINE# if ( col is None ) : #NEWLINE# #INDENT# raise ValueError ( 'Given node not found' ) #NEWLINE# #UNINDENT# return self . entity [ qn ( col [ 1 ] ) ]