class_docstr: Base class used for to run modules in a pipeline.
docstr: Initialization of the pipeline
  
  :param list modules: modules of the pipeline.
  :param logger: logger to be used by each module.
docstr_tok: ["Initialization","of","the","pipeline",":","param","list","modules",":","modules","of","the","pipeline",".",":","param","logger",":","logger","to","be","used","by","each","module","."]
code: def __init__(
      self, modules, logger: logging.Logger | None = None
  ) -> None:
      """Initialization of the pipeline
  
      :param list modules: modules of the pipeline.
      :param logger: logger to be used by each module.
      """
      self.modules = modules
      self.set_logger(logger)
  
imports: from __future__ import annotations
  import logging
label_desc: Use image node_id 1 to create a new Pipeline object  with example: obj = Pipeline(modules, logger)