class_docstr: Environment wrapper for OpenSpiel RL environments.
class_docstr_tok: ["Environment","wrapper","for","OpenSpiel","RL","environments","."]
code: def __init__(self, environment: rl_environment.Environment):
      self._environment = environment
      self._reset_next_step = True
      if not environment.is_turn_based:
          raise ValueError("Currently only supports turn based games.")
  
imports: from typing import List, NamedTuple
  from acme import specs
  from acme import types
  import dm_env
  import numpy
  from open_spiel.python import rl_environment
label_desc: Use image node_id 1 to create a new OpenSpielWrapper object from inherited base classes: dm_env with example: obj = OpenSpielWrapper(environment)