class_docstr: Decorator pattern. It simply iterates the method of its member as many times as needed.
  It thus extends any class to apply its methods to a list of arguments.
class_docstr_tok: ["Decorator","pattern",".","It","simply","iterates","the","method","of","its","member","as","many","times","as","needed",".","It","thus","extends","any","class","to","apply","its","methods","to","a","list","of","arguments","."]
docstr: Check if there are arguments in a function call. Raise exception otherwise.
  
  Parameters
  ----------
  args : object
      Arguments of a function call.
  name : string
      Name of function targeted.
  
  Raises
  ------
  ValueError
      Raise if there is no argument.
docstr_tok: ["Check","if","there","are","arguments","in","a","function","call",".","Raise","exception","otherwise",".","Parameters","--","--","--","--","--","args",":","object","Arguments","of","a","function","call",".","name",":","string","Name","of","function","targeted",".","Raises","--","--","--","ValueError","Raise","if","there","is","no","argument","."]
code: def check_args(self, args, name):
      """
      Check if there are arguments in a function call. Raise exception otherwise.
  
      Parameters
      ----------
      args : object
          Arguments of a function call.
      name : string
          Name of function targeted.
  
      Raises
      ------
      ValueError
          Raise if there is no argument.
      """
      if not args:
          raise ValueError(
              "{} is applied without arguments,"
              "please check that you have specified contributions.".format(
                  name
              )
          )
  
file_path: shapash/shapash/explainer/multi_decorator.py
imports: from shapash.explainer.smart_state import SmartState
label_desc: Use image node_id 4 for calling the MultiDecorator obj's underlying member method code with example usage: obj.check_args(args, name) without return types