def get_config(self, model):
        """Get config for given model"""
        if not inspect.isclass(model):
            model = model.__class__
        return self.configs.get(self.get_model_name(model))
Get config for given model