docs: def run(self, redirects = []):
          """Runs the pipelines with the specified redirects and returns
          a RunningPipeline instance."""
          if not isinstance(redirects, redir.Redirects):
              redirects = redir.Redirects(self._env._redirects, *redirects)
          with copy.copy_session() as sess:
              self = copy.deepcopy(self)
              processes = self._run(redirects, sess)
          pipeline = RunningPipeline(processes, self)
          self._env.last_pipeline = pipeline
          return pipeline