code: def _decorator_apply(dec, func):
      return FunctionMaker.create(
          func,
          "return decfunc(%(shortsignature)s)",
          dict(decfunc=dec(func)),
          __wrapped__=func,
      )
  
file_path: librosa/librosa/_cache.py
imports: import os
  from typing import Any, Callable, TypeVar
  from joblib import Memory
  from decorator import FunctionMaker
label_desc: Use image node_id 1 for calling a global function with example usage: _decorator_apply(dec, func) and returns: FunctionMaker