def set_model(self, models):
        if self.model_name not in models:
            raise KeyError('No model with name "{0}" defined'.format(
                self.model_name))
        self.model = models[self.model_name]
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/expression/objects.py/ModelPath.set_model/original