docstr: Call Plugins.instance().register(MyPlugin) to manually register a plugin class.
docstr_tok: ["Call","Plugins.instance","(",")",".register","(","MyPlugin",")","to","manually","register","a","plugin","class","."]
code: def register(self, clazz: Type[Plugin]) -> None:
      """
      Call Plugins.instance().register(MyPlugin) to manually register a plugin class.
      """
      if not _is_concrete_plugin_type(clazz):
          raise ValueError("Not a valid Hydra Plugin")
      self._register(clazz)
  
imports: import importlib
  import importlib.util
  import inspect
  import pkgutil
  import sys
  import warnings
  from collections import defaultdict
  from dataclasses import dataclass, field
  from timeit import default_timer
  from typing import Any, Dict, List, Optional, Tuple, Type
  from omegaconf import DictConfig
  from hydra._internal.sources_registry import SourcesRegistry
  from hydra.core.singleton import Singleton
  from hydra.plugins.completion_plugin import CompletionPlugin
  from hydra.plugins.config_source import ConfigSource
  from hydra.plugins.launcher import Launcher
  from hydra.plugins.plugin import Plugin
  from hydra.plugins.search_path_plugin import SearchPathPlugin
  from hydra.plugins.sweeper import Sweeper
  from hydra.types import HydraContext, TaskFunction
  from hydra.utils import instantiate
label_desc: Use image node_id 4 for calling the Plugins obj's underlying member method code with example usage: obj.register(clazz) without return types