#NEWLINE# def as_sql( self , compiler , connection ) : #NEWLINE# #INDENT# ( lhs_sql , params ) = compiler . compile ( self . lhs ) #NEWLINE# return ( connection . ops . date_extract_sql ( 'year' , lhs_sql ) , params )