def get_model(self, model):
        self.discover()
        try:
            return self.models[model]
        except (KeyError, TypeError):
            raise NotRegistered('%s not in registry (%s)' % (model.__name__, self.models))
dataset/ETHPy150Open willhardy/Roll-Your-Own/rollyourown/populate/registration.py/PopulateCache.get_model/original