#NEWLINE# def __get__( self , instance , owner ) : #NEWLINE# #INDENT# arg = instance . arguments [ self . name ] #NEWLINE# try : #NEWLINE# #INDENT# value = instance . __dict__ [ arg . name ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# raise AttributeError ( self . name ) #NEWLINE# #UNINDENT# key = hash ( instance ) #NEWLINE# if data . instance_stack [ key ] : #NEWLINE# #INDENT# instance = data . instance_stack [ key ] [ ( - 1 ) ] #NEWLINE# if ( value . resolve_field and hasattr ( value , 'resolve' ) ) : #NEWLINE# #INDENT# value = value . resolve ( instance ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if hasattr ( value , '__call__' ) : #NEWLINE# #INDENT# value = value ( instance ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return value