#NEWLINE# def __init__( self , expression , column_name , data_type ) : #NEWLINE# #INDENT# if ( not hasattr ( column_name , 'resolve_expression' ) ) : #NEWLINE# #INDENT# column_name = Value ( column_name ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# output_field = self . TYPE_MAP [ data_type ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# raise ValueError ( "Invalid data_type '{}'" . format ( data_type ) ) #NEWLINE# #UNINDENT# if ( data_type == 'BINARY' ) : #NEWLINE# #INDENT# output_field = output_field ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# output_field = expression #NEWLINE# #UNINDENT# super ( ColumnGet , self ) . __init__ ( expression , column_name , output_field = output_field , data_type = data_type )