class_docstr: A `gym.Env` wrapper for the `dm_env` API.
class_docstr_tok: ["A","`","gym.Env","`","wrapper","for","the","`","dm_env","`","API","."]
code: def reward_range(self):
      spec = self._env.reward_spec()
      if isinstance(spec, specs.BoundedArray):
          return spec.minimum, spec.maximum
      return -float("inf"), float("inf")
  
file_path: ray/rllib/env/wrappers/dm_env_wrapper.py
imports: import gymnasium
  from gymnasium import spaces
  import numpy
  from ray.rllib.utils.annotations import PublicAPI
label_desc: Use image node_id 7 for calling the DMEnv obj's underlying member method code with example usage: obj.reward_range() and returns: unknown,  float, spec,  spec