def modify_item(self, item_uri, metadata):
        """Modify the metadata on an item

        """

        md = json.dumps({'metadata': metadata})

        response = self.api_request(item_uri, method='PUT', data=md)
        return self.__check_success(response)
def modify_item ( self , item_uri , metadata ) : md = json . dumps ( { 'metadata' : metadata } ) response = self . api_request ( item_uri , method = 'PUT' , data = md ) return self . __check_success ( response )
Modify the metadata on an item