code: def setTask(self, value):
      """Sets the transformer's task, e.g. ``summarize:``.
  
      Parameters
      ----------
      value : str
          The transformer's task
      """
      return self._set(task=value)
  
imports: from pyspark.ml.param import Param, Params, TypeConverters
label_desc: Use image node_id 1 for calling a global function with example usage: setTask(value) and returns: self