code: def apply(self, stream):
      for action in self.actions:
          stream = action.apply(stream)
  
      return stream
  
imports: from dataclasses import dataclass
  from typing import Any, Dict, List, Type
  from gluonts import itertools
label_desc: Use image node_id 1 for calling the Pipeline obj's underlying member method code with example usage: obj.apply(stream) and returns: stream