#NEWLINE# def associate( self , model ) : #NEWLINE# #INDENT# '\n        Associate the model instance to the given parent.\n\n        :type model: orator.Model\n\n        :rtype: orator.Model\n        ' #NEWLINE# self . _parent . set_attribute ( self . _foreign_key , model . get_attribute ( self . _other_key ) ) #NEWLINE# return self . _parent . set_relation ( self . _relation , Result ( model , self , self . _parent ) )