#NEWLINE# def __init__( self , query , related , fields ) : #NEWLINE# #INDENT# self . query = query #NEWLINE# self . related = related #NEWLINE# self . fields = fields #NEWLINE# self . alias_to_model = dict ( [ ( k [ 1 ] , k [ 0 ] ) for k in self . related . keys ( ) ] )