#NEWLINE# def update( self , datastream_id , **kwargs ) : #NEWLINE# #INDENT# 'Updates a feeds datastream by id.\n\n        :param datastream_id: The ID of the datastream to update\n        :param kwargs: The datastream fields to be updated\n\n        ' #NEWLINE# url = self . url ( url ) #NEWLINE# response = self . client . put ( url , data = kwargs ) #NEWLINE# response . raise_for_status ( )