code: def __init__(
      self,
      action,
      name="Pipeline",
      aug_p=1,
      flow=None,
      include_detail=False,
      verbose=0,
  ):
      Augmenter.__init__(
          self,
          name=name,
          method=Method.FLOW,
          action=action,
          aug_min=None,
          aug_max=None,
          verbose=verbose,
          include_detail=include_detail,
      )
      self.aug_p = aug_p
      if flow is None:
          list.__init__(self, [])
      elif isinstance(flow, (Augmenter, CharAugmenter)):
          list.__init__(self, [flow])
      elif isinstance(flow, list):
          for subflow in flow:
              if not isinstance(subflow, Augmenter):
                  raise ValueError(
                      "At least one of the flow does not belongs to Augmenter"
                  )
          list.__init__(self, flow)
      else:
          raise Exception(
              "Expected None, Augmenter or list of Augmenter while {} is passed".format(
                  type(flow)
              )
          )
  
file_path: nlpaug/nlpaug/flow/pipeline.py
imports: from nlpaug import Augmenter
  from nlpaug.augmenter.char import CharAugmenter
  from nlpaug.util import Method
label_desc: Use image node_id 1 to create a new Pipeline object from inherited base classes: Augmenter, list with example: obj = Pipeline(action, name, aug_p, flow, include_detail, verbose)