code: def setbase(ver: Any) -> None:
      if type(ver) is type(_UNSPECIFIED_):
          deprecation_warning(
              message=dedent(
                  f"""
              The version_base parameter is not specified.
              Please specify a compatibility version level, or None.
              Will assume defaults for version {__compat_version__}"""
              ),
              stacklevel=3,
          )
          _version_base = __compat_version__
      elif ver is None:
          _version_base = _get_version(__version__)
      else:
          _version_base = _get_version(ver)
          if _version_base < __compat_version__:
              raise HydraException(
                  f'version_base must be >= "{__compat_version__}"'
              )
      VersionBase.instance().setbase(_version_base)
  
file_path: hydra/hydra/version.py
imports: from textwrap import dedent
  from typing import Any, Optional
  from packaging.version import Version
  from .None import __version__
  from ._internal.deprecation_warning import deprecation_warning
  from .core.singleton import Singleton
  from .errors import HydraException
label_desc: Use image node_id 4 for calling a global function with example usage: setbase(ver) without return types