code: def wrap_all(
      environment: dm_env.Environment,
      wrappers: Sequence[
          Callable[[dm_env.Environment], dm_env.Environment]
      ],
  ) -> dm_env.Environment:
      """Given an environment, wrap it in a list of wrappers."""
      for w in wrappers:
          environment = w(environment)
  
      return environment
  
file_path: acme/acme/wrappers/base.py
imports: from typing import Callable, Sequence
  import dm_env
label_desc: Use image node_id 1 for calling a global function with example usage: wrap_all(environment, wrappers) and returns: environment