code: def __init__(self, ctx: ConnectorContext, sign=False, limit=None):
      super().__init__(ctx)
      assert (
          not sign or not limit
      ), "should not enable both sign and limit reward clipping."
      self.sign = sign
      self.limit = limit
  
file_path: ray/python/ray/rllib/connectors/agent/clip_reward.py
imports: from typing import Any
  import numpy
  from ray.rllib.connectors.connector import AgentConnector, ConnectorContext
  from ray.rllib.connectors.registry import register_connector
  from ray.rllib.policy.sample_batch import SampleBatch
  from ray.rllib.utils.typing import AgentConnectorDataType
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 1 to create a new ClipRewardAgentConnector object from inherited base classes: AgentConnector with example: obj = ClipRewardAgentConnector(ctx, sign, limit)