def register(self, model):
        if not isinstance(model, LuxModel):
            model = model()
        assert isinstance(model, LuxModel), ('An instance of a lux model '
                                             'is required')
        if model.identifier in self:
            return self[model.identifier]

        model = copy(model)
        model.register(self._app)
        if model.identifier:
            self[model.identifier] = model

        return model
Register a new Lux Model to the application
dataset/ETHPy150Open quantmind/lux/lux/core/models.py/ModelContainer.register