code: def validate_resampler_func(method, args, kwargs):
      """
      'args' and 'kwargs' should be empty because all of
      their necessary parameters are explicitly listed in
      the function signature
      """
      if len(args) + len(kwargs) > 0:
          if method in RESAMPLER_NUMPY_OPS:
              raise UnsupportedFunctionCall(
                  (
                      "numpy operations are not valid "
                      "with resample. Use .resample(...)."
                      "{func}() instead".format(func=method)
                  )
              )
          else:
              raise TypeError("too many arguments passed in")
  
imports: from numpy import ndarray
  from pandas.compat import OrderedDict
  from pandas.errors import UnsupportedFunctionCall
  from pandas.util._validators import validate_args, validate_args_and_kwargs, validate_kwargs
  from pandas.core.dtypes.common import is_bool, is_integer
label_desc: Use image node_id 13 for calling a global function with example usage: validate_resampler_func(method, args, kwargs) without return types