code: def to_kwargs(fn):
      def _inner(data):
          return fn(**data)
  
      return _inner
  
file_path: MONAI/monai/transforms/adaptors.py
imports: from __future__ import annotations
  from typing import Callable
  from monai.utils import export
label_desc: Use image node_id 3 for calling a global function with example usage: to_kwargs(fn) and returns: _inner, fn