#NEWLINE# def has_field_handler( entity , name , * args , **kwargs ) : #NEWLINE# #INDENT# if ( 'through' in kwargs ) : #NEWLINE# #INDENT# setattr ( entity , name , association_proxy ( kwargs . pop ( 'through' ) , kwargs . pop ( 'attribute' , name ) , ** kwargs ) ) #NEWLINE# return #NEWLINE# #UNINDENT# field = Field ( * args , ** name ) #NEWLINE# field . attach ( entity , name )