Change an algorithm text. Can only be peformed on JavaScript or Python algorithms.
        
        :param string text: new algorithm text (as it would appear in excel or XTCE)
        
        :param str parameter: Either a fully-qualified XTCE name or an alias
                              in the format ``NAMESPACE/NAME``.

def set_algorithm(self, parameter, text):
        """
        Change an algorithm text. Can only be peformed on JavaScript or Python algorithms.
        
        :param string text: new algorithm text (as it would appear in excel or XTCE)
        
        :param str parameter: Either a fully-qualified XTCE name or an alias
                              in the format ``NAMESPACE/NAME``.
        """
        req = mdb_pb2.ChangeAlgorithmRequest()
        
        req.action = mdb_pb2.ChangeAlgorithmRequest.SET
        req.algorithm.text = text
        
        url = '/mdb/{}/{}/algorithms/{}'.format(
            self._instance, self._processor, parameter)
        response = self._client.post_proto(url, data=req.SerializeToString())