

def set_model(self, models):
    if (models.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/VarMisuse@14/16 `self`->`models`