class_docstr: Environment that wraps another environment.
  
  This exposes the wrapped environment with the `.environment` property and also
  defines `__getattr__` so that attributes are invisibly forwarded to the
  wrapped environment (and hence enabling duck-typing).
class_docstr_tok: ["Environment","that","wraps","another","environment",".","This","exposes","the","wrapped","environment","with","the","`",".environment","`","property","and","also","defines","`","__getattr__","`","so","that","attributes","are","invisibly","forwarded","to","the","wrapped","environment","(","and","hence","enabling","duck-typing",")","."]
code: def action_spec(self):
      return self._environment.action_spec()
  
file_path: acme/acme/wrappers/base.py
imports: from typing import Callable, Sequence
  import dm_env
label_desc: Use image node_id 6 for calling the EnvironmentWrapper obj's underlying member method code with example usage: obj.action_spec() and returns: self