class_docstr: Utility class for quick manipulation of a connector pipeline.
docstr: Prepend a new connector at the beginning of a connector pipeline.
  
  Args:
      connector: The new connector piece to be prepended to this pipeline.
docstr_tok: ["Prepend","a","new","connector","at","the","beginning","of","a","connector","pipeline",".","Args",":","connector",":","The","new","connector","piece","to","be","prepended","to","this","pipeline","."]
code: def prepend(self, connector: ConnectorV2) -> None:
      """Prepend a new connector at the beginning of a connector pipeline.
  
      Args:
          connector: The new connector piece to be prepended to this pipeline.
      """
      self.connectors.insert(0, connector)
      self._fix_input_output_types()
  
      logger.info(
          f"Added {connector.__class__.__name__} to the beginning of "
          f"{self.__class__.__name__}."
      )
  
imports: from collections import defaultdict
  import logging
  from typing import Any, Dict, List, Optional, Type, Union
  from ray.rllib.connectors.connector_v2 import ConnectorV2
  from ray.rllib.core.rl_module.rl_module import RLModule
  from ray.rllib.utils.annotations import override
  from ray.rllib.utils.typing import EpisodeType
  from ray.util.annotations import PublicAPI
  from ray.util.timer import _Timer
label_desc: Use image node_id 6 for calling the ConnectorPipelineV2 obj's underlying member method code with example usage: obj.prepend(connector) without return types