class_docstr: Utility class for quick manipulation of a connector pipeline.
class_docstr_tok: ["Utility","class","for","quick","manipulation","of","a","connector","pipeline","."]
docstr: Remove a connector by <name>
  
  Args:
      name: name of the connector to be removed.
docstr_tok: ["Remove","a","connector","by","<","name",">","Args",":","name",":","name","of","the","connector","to","be","removed","."]
code: def remove(self, name: str):
      """Remove a connector by <name>
  
      Args:
          name: name of the connector to be removed.
      """
      idx = -1
      for i, c in enumerate(self.connectors):
          if c.__class__.__name__ == name:
              idx = i
              break
      if idx >= 0:
          del self.connectors[idx]
          logger.info(
              f"Removed connector {name} from {self.__class__.__name__}."
          )
      else:
          logger.warning(
              f"Trying to remove a non-existent connector {name}."
          )
  
imports: import abc
  import logging
  from typing import TYPE_CHECKING, Any, Dict, List, Tuple, Union
  import gymnasium
  from ray.rllib.policy.view_requirement import ViewRequirement
  from ray.rllib.utils.typing import ActionConnectorDataType, AgentConnectorDataType, AlgorithmConfigDict, TensorType
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 4 for calling the ConnectorPipeline obj's underlying member method code with example usage: obj.remove(name) without return types