code: def test_register():
      register(AddSelfLoops, group="transform")
      assert "transform" in get_config_store().repo
  
      AddSelfLoopsConfig = dataclass_from_class("AddSelfLoops")
  
      Cls = class_from_dataclass("AddSelfLoops")
      assert Cls == AddSelfLoops
      Cls = class_from_dataclass(AddSelfLoopsConfig)
      assert Cls == AddSelfLoops
  
      ConfigCls = dataclass_from_class("AddSelfLoops")
      assert ConfigCls == AddSelfLoopsConfig
      ConfigCls = dataclass_from_class(ConfigCls)
      assert ConfigCls == AddSelfLoopsConfig
  
file_path: pytorch_geometric/test/test_config_store.py
imports: from typing import Any
  from torch_geometric.config_store import class_from_dataclass, clear_config_store, dataclass_from_class, fill_config_store, get_config_store, register, to_dataclass
  from torch_geometric.testing import withPackage
  from torch_geometric.transforms import AddSelfLoops
label_desc: Use image node_id 3 for calling a global function with example usage: test_register() without return types