code: def _get_obs(self, time_step):
      if self._from_pixels:
          obs = self.render(
              height=self._height,
              width=self._width,
              camera_id=self._camera_id,
          )
          if self._channels_first:
              obs = obs.transpose(2, 0, 1).copy()
          if self.preprocess:
              obs = obs / 255.0 - 0.5
      else:
          obs = _flatten_obs(time_step.observation)
      return obs.astype(np.float32)
  
file_path: ray/rllib/env/wrappers/dm_control_wrapper.py
imports: from gymnasium import core, spaces
  import numpy
  from ray.rllib.utils.annotations import PublicAPI
label_desc: Use image node_id 3 for calling the DMCEnv obj's underlying member method code with example usage: obj._get_obs(time_step) and returns: obs