#NEWLINE# def project_resources_update( self , project , nodes , **kwargs ) : #NEWLINE# #INDENT# 'Wraps `Rundeck API POST /project/[NAME]/resources <http://rundeck.org/docs/api/index.html#updating-and-listing-resources-for-a-project>`_\n\n        :Parameters:\n            project : str\n                name of the project\n            nodes : list(RundeckNode, ...)\n                a list of RundeckNode objects\n\n        :return: A :class:`~.rundeck.connection.RundeckResponse`\n        :rtype: :class:`~.rundeck.connection.RundeckResponse`\n        ' #NEWLINE# headers = { #NEWLINE# #INDENT# 'Content-Type' : 'text/xml' , #NEWLINE# #UNINDENT# } #NEWLINE# data = '<nodes>{0}</nodes>' . format ( '\n' . join ( [ node . xml for node in self ] ) ) #NEWLINE# return self . _exec ( POST , 'project/{0}/resources' . format ( urlquote ( project ) ) , data = data , headers = headers , ** kwargs )