class_docstr: This class is going away in Hydra 1.2.
  You should no longer extend it or annotate with it.
  instantiate will work correctly if you pass in a DictConfig object or any dataclass that has the
  _target_ attribute.
code: def __post_init__(self) -> None:
      if version.base_at_least("1.2"):
          raise TypeError("TargetConf is unsupported since Hydra 1.2")
      else:
          msg = "\nTargetConf is deprecated since Hydra 1.1 and will be removed in Hydra 1.2."
          deprecation_warning(message=msg)
  
file_path: hydra/hydra/types.py
imports: from dataclasses import dataclass
  from enum import Enum
  from typing import TYPE_CHECKING, Any, Callable
  from omegaconf import MISSING
  from hydra import version
  from ._internal.deprecation_warning import deprecation_warning
label_desc: Use image node_id 1 for calling the TargetConf obj's underlying member method code with example usage: obj.__post_init__() without return types