code: def setbase(self, version: "Version") -> None:
      assert isinstance(
          version, Version
      ), f"Unexpected Version type : {type(version)}"
      self.version_base = version
  
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 2 for calling the VersionBase obj's underlying member method code with example usage: obj.setbase(version) without return types