class_docstr: Binding for py_bullet environments.
docstr: See `Object.__setstate__.
  
  This will create a new py_bullet client/server connection.
  
  Args:
      state (dict): The instance’s __init__() arguments.
docstr_tok: ["See","`","Object.__setstate__",".","This","will","create","a","new","py_bullet","client\/server","connection",".","Args",":","state","(","dict",")",":","The","instance","\u2019","s","__init__","(",")","arguments","."]
code: def __setstate__(self, state):
      """See `Object.__setstate__.
  
      This will create a new py_bullet client/server connection.
  
      Args:
          state (dict): The instance’s __init__() arguments.
  
      """
      env_id = state["id"]
      max_episode_length = state["max_episode_length"]
      # Create a environment via constructor arguments
      del state["id"]
      del state["max_episode_length"]
      env = gym.make(env_id, **state)
  
      self.__init__(env, max_episode_length=max_episode_length)
  
file_path: garage/src/garage/envs/bullet/bullet_env.py
imports: import inspect
  import gym
  from garage.envs import GymEnv
label_desc: Use image node_id 5 for calling the BulletEnv obj's underlying member method code with example usage: obj.__setstate__(state) without return types