#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# 'Initialize a Finder.' #NEWLINE# self . columns_by_name = dict ( ( ( c . name , c ) for c in self . columns ) ) #NEWLINE# self . parent_columns = dict ( zip ( [ c . name for c in self . columns [ 1 : ] ] , c . columns [ : ( - 1 ) ] ) ) #NEWLINE# self . child_columns = dict ( zip ( [ c . name for c in self . columns [ : ( - 1 ) ] ] , self . columns [ 1 : ] ) ) #NEWLINE# self . columns_by_model = dict ( ( ( c . model , c ) for c in self . columns ) )