code: def test_overlapping_schemas(hydra_restore_singletons: Any) -> None:
      cs = ConfigStore.instance()
      cs.store(name="config", node=Config)
      cs.store(group="plugin", name="concrete", node=ConcretePlugin)
  
      config_loader = ConfigLoaderImpl(
          config_search_path=create_config_search_path(None)
      )
      cfg = config_loader.load_configuration(
          config_name="config", overrides=[], run_mode=RunMode.RUN
      )
      with open_dict(cfg):
          del cfg["hydra"]
  
      assert cfg == {"plugin": {"name": "???", "params": "???"}}
      assert OmegaConf.get_type(cfg.plugin) == Plugin
  
      cfg = config_loader.load_configuration(
          config_name="config",
          overrides=["+plugin=concrete"],
          run_mode=RunMode.RUN,
      )
      with open_dict(cfg):
          del cfg["hydra"]
  
      assert cfg == {
          "plugin": {"name": "foobar_plugin", "params": {"foo": 10}}
      }
      assert OmegaConf.get_type(cfg.plugin) == ConcretePlugin
      assert (
          OmegaConf.get_type(cfg.plugin.params)
          == ConcretePlugin.FoobarParams
      )
      with raises(ValidationError):
          cfg.plugin = 10
  
imports: import re
  from dataclasses import dataclass, field
  from textwrap import dedent
  from typing import Any, List
  from omegaconf import MISSING, OmegaConf, ValidationError, open_dict
  from pytest import mark, param, raises, warns
  from hydra import version
  from hydra._internal.config_loader_impl import ConfigLoaderImpl
  from hydra._internal.utils import create_config_search_path
  from hydra.core.config_store import ConfigStore, ConfigStoreWithProvider
  from hydra.core.override_parser.overrides_parser import OverridesParser
  from hydra.core.utils import env_override, setup_globals
  from hydra.errors import ConfigCompositionException, HydraException, MissingConfigException
  from hydra.test_utils.test_utils import chdir_hydra_root
  from hydra.types import RunMode
  from tests.instantiate import UserGroup
label_desc: Use image node_id 5 for calling a global function with example usage: test_overlapping_schemas(hydra_restore_singletons) without return types