#NEWLINE# def attr_proxy_required( self , obj , attr , required = True ) : #NEWLINE# #INDENT# '\n        Record that a proxy is/is not required for `obj.attr`.\n\n        obj: object\n            Object whose attribute is to be recorded.\n\n        attr: string\n            Name of attribute to be recorded.\n\n        required: bool\n            If True, a proxy must be created.\n\n        ' #NEWLINE# key = ( '%s.%s' % ( id ( attr ) , attr ) ) #NEWLINE# self . attr_proxy_map [ key ] = required