class_docstr: Pipeline is a tool to create data transformation chains.
  
  Args:
      dag (`dict`): The dag for the pipeline.
      clo_node (`str`): The close node in the pipeline dag, defaults to '_input'.
docstr: Concat a pipeline to another pipeline/s.
  
  Args:
      pipes : one or more pipelines to concat.
  
  Returns:
      Pipeline: Pipeline to be concated.
  
  Examples:
      >>> from towhee import pipe
      >>> p0 = pipe.input('a', 'b', 'c')
      >>> p1 = p0.map('a', 'd', lambda x: x+1)
      >>> p2 = p0.map(('b', 'c'), 'e', lambda x, y: x - y)
      >>> p3 = p2.concat(p1).output('d', 'e')
      >>> p3(1, 2, 3).get()
      [2, -1]
docstr_tok: ["Concat","a","pipeline","to","another","pipeline\/s",".","Args",":","pipes",":","one","or","more","pipelines","to","concat",".","Returns",":","Pipeline",":","Pipeline","to","be","concated",".","Examples",":",">",">",">","from","towhee","import","pipe",">",">",">","p0","=","pipe.input","(","'","a","'",",","'","b","'",",","'","c","'",")",">",">",">","p1","=","p0.map","(","'","a","'",",","'d","'",",","lambda","x",":","x+1",")",">",">",">","p2","=","p0.map","(","(","'","b","'",",","'","c","'",")",",","'","e","'",",","lambda","x",",","y",":","x","-","y",")",">",">",">","p3","=","p2.concat","(","p1",")",".output","(","'d","'",",","'","e","'",")",">",">",">","p3","(","1",",","2",",","3",")",".get","(",")","[","2",",","-1","]"]
code: def concat(self, *pipes: "Pipeline") -> "Pipeline":
      """
      Concat a pipeline to another pipeline/s.
  
      Args:
          pipes : one or more pipelines to concat.
  
      Returns:
          Pipeline: Pipeline to be concated.
  
      Examples:
          >>> from towhee import pipe
          >>> p0 = pipe.input('a', 'b', 'c')
          >>> p1 = p0.map('a', 'd', lambda x: x+1)
          >>> p2 = p0.map(('b', 'c'), 'e', lambda x, y: x - y)
          >>> p3 = p2.concat(p1).output('d', 'e')
          >>> p3(1, 2, 3).get()
          [2, -1]
      """
      self._check_concat_pipe(pipes)
      uid = uuid.uuid4().hex
      dag_dict = self._concat_dag(deepcopy(self._dag), pipes)
      fn_action = self._to_action(ConcatConst.name)
      dag_dict[uid] = {
          "inputs": (),
          "outputs": (),
          "op_info": fn_action.serialize(),
          "iter_info": {
              "type": ConcatConst.name,
              "param": None,
          },
          "config": None,
          "next_nodes": [],
      }
      dag_dict[self._clo_node]["next_nodes"].append(uid)
      for pipe in pipes:
          dag_dict[pipe._clo_node]["next_nodes"].append(uid)
  
      return Pipeline(dag_dict, uid)
  
imports: import uuid
  from copy import deepcopy
  from towhee.runtime.check_utils import TupleForm
  from towhee.runtime.operator_manager import OperatorAction
  from towhee.runtime.factory import _OperatorWrapper
  from towhee.runtime.runtime_pipeline import RuntimePipeline
  from towhee.runtime.constants import MapConst, WindowAllConst, WindowConst, ReduceConst, FilterConst, TimeWindowConst, FlatMapConst, ConcatConst, InputConst, OutputConst, OPName
label_desc: Use image node_id 6 for calling the Pipeline obj's underlying member method code with example usage: obj.concat() and returns: Pipeline