code: def register_model(cls: M) -> M:
      """
      Registers the provided class in the global model registry.
      """
      MODEL_REGISTRY[cls.name()] = cls
      return cls
  
label_desc: Use image node_id 1 for calling a global function with example usage: register_model(cls) and returns: cls