parameters: (args)
docstring: Warn the user about supplying unused `args` to a pydp model.
      Arguments can be supplied as a string, a list of strings, or a dictionary as supplied to kwargs.
      Parameters
      ----------
      args : str or list or dict
          Arguments for which warnings should be thrown.
      Returns
      -------
      None
docstring_summary: Warn the user about supplying unused `args` to a pydp model.
      Arguments can be supplied as a string, a list of strings, or a dictionary as supplied to kwargs.
      Parameters
      ----------
      args : str or list or dict
          Arguments for which warnings should be thrown.
      Returns
      -------
      None
docstring_tokens: Warn the user about supplying unused args to a pydp model . Arguments can be supplied as a string a list of strings or a dictionary as supplied to kwargs . Parameters ---------- args : str or list or dict Arguments for which warnings should be thrown . Returns ------- None
function: def warn_unused_args(args):
      """Warn the user about supplying unused `args` to a pydp model.
      Arguments can be supplied as a string, a list of strings, or a dictionary as supplied to kwargs.
      Parameters
      ----------
      args : str or list or dict
          Arguments for which warnings should be thrown.
      Returns
      -------
      None
      """
      if isinstance(args, str):
          args = [args]
  
      if not isinstance(args, (dict, list)):
          raise ValueError(
              "args must be a string, a list of strings or a dictionary, got type '%s'."
              % type(args)
          )
  
      for arg in args:
          warnings.warn(
              "Parameter '%s' is not functional in pydp.  Remove this parameter to suppress this "
              "warning." % arg,
              PyDPCompatibilityWarning,
          )
function_tokens: def warn_unused_args ( args ) : if isinstance ( args , str ) : args = [ args ] if not isinstance ( args , ( dict , list ) ) : raise ValueError ( "args must be a string, a list of strings or a dictionary, got type '%s'." % type ( args ) ) for arg in args : warnings . warn ( "Parameter '%s' is not functional in pydp.  Remove this parameter to suppress this " "warning." % arg , PyDPCompatibilityWarning , )