

def update_evaluation(self, evaluation, changes):
    'Updates an evaluation.\n\n        '
    check_resource_type(evaluation, EVALUATION_PATH, message='An evaluation id is needed.')
    evaluation_id = get_evaluation_id(evaluation)
    if evaluation_id:
        body = json.dumps(changes)
        return self._update(('%s%s' % (self.url, evaluation_id)), self)

dataset/ETHPy150Open bigmlcom/python/bigml/evaluationhandler.py EvaluationHandler.update_evaluation/VarMisuse@65/110 `body`->`self`