code: def forbid_unused_kwargs(augmentations, kwargs, call_name):
      unused_args = filter_unused_args(augmentations, kwargs)
      if unused_args:
          subject, verb = (
              ("kwarg", "is")
              if len(unused_args) == 1
              else ("kwargs", "are")
          )
          unused_kwargs_str = ", ".join(unused_args)
          raise UnusedArgException(
              f"The {call_name} got unexpected {subject}. "
              f"The {subject} `{unused_kwargs_str}` {verb} not used by any of the augmentations.",
              unused_args=unused_args,
          )
  
file_path: DALI/dali/python/nvidia/dali/auto_aug/core/_args.py
imports: import inspect
label_desc: Use image node_id 6 for calling a global function with example usage: forbid_unused_kwargs(augmentations, kwargs, call_name) without return types