code: def __init__(self, env):
      super(OneHot, self).__init__(env)
      self.observation_space = gym.spaces.Box(
          0.0, 1.0, (env.observation_space.n,)
      )
  
file_path: ray/rllib/examples/env/look_and_push.py
imports: import gymnasium
  import numpy
label_desc: Use image node_id 1 to create a new OneHot object from inherited base classes: gym with example: obj = OneHot(env)