code: def register_model(cls: Type[Model]):
      
      if not issubclass(cls, Model):
          raise TypeError("model bust be a subclass of Model")
      if issubclass(cls, GenericModel):
          raise TypeError("model must not be a subclass of GenericModel")
      __models__.add(cls)
      return cls
docs: Include the given model class into the registry.
  
      :param cls: The class of the registered model.
      :return: None