#NEWLINE# def __call__( self ) : #NEWLINE# #INDENT# obj = self . ref ( ) #NEWLINE# if ( obj is None ) : #NEWLINE# #INDENT# raise exc . InvalidRequestError ( 'stale association proxy, parent object has gone out of scope' ) #NEWLINE# #UNINDENT# return getattr ( obj , self . target )