code: def shortcut_framework(current: str) -> None:
      """Make ``current`` a shortcut of ``current.framework``."""
      if get_default_framework() != "none":
          # Throw ModuleNotFoundError if framework is not supported
          shortcut_module(
              current, "." + get_default_framework(), current
          )
  
file_path: nni/nni/common/framework.py
imports: import importlib
  import os
  import sys
  from typing import Optional, cast
  from typing_extensions import Literal
label_desc: Use image node_id 5 for calling a global function with example usage: shortcut_framework(current) without return types