class_docstr: Clip the continuous action within the valid :class:`Box` observation space bound.
  
  Example:
      >>> import gym
      >>> env = gym.make('Bipedal-Walker-v3')
      >>> env = ClipAction(env)
      >>> env.action_space
      Box(-1.0, 1.0, (4,), float32)
      >>> env.step(np.array([5.0, 2.0, -10.0, 0.0]))
      # Executes the action np.array([1.0, 1.0, -1.0, 0]) in the base environment
docstr: A wrapper for clipping continuous actions within the valid bound.
  
  Args:
      env: The environment to apply the wrapper
docstr_tok: ["A","wrapper","for","clipping","continuous","actions","within","the","valid","bound",".","Args",":","env",":","The","environment","to","apply","the","wrapper"]
code: def __init__(self, env: gym.Env):
      """A wrapper for clipping continuous actions within the valid bound.
  
      Args:
          env: The environment to apply the wrapper
      """
      assert isinstance(env.action_space, Box)
      super().__init__(env)
  
imports: import numpy
  import gym
  from gym import ActionWrapper
  from gym.spaces import Box
label_desc: Use image node_id 1 to create a new ClipAction object from inherited base classes: ActionWrapper with example: obj = ClipAction(env)