class_docstr: Wrapper for gym CartPole environment where reward is accumulated to the end.
class_docstr_tok: ["Wrapper","for","gym","CartPole","environment","where","reward","is","accumulated","to","the","end","."]
code: def get_state(self):
      return deepcopy(self.env), self.running_reward
  
file_path: ray/rllib/examples/env/cartpole_sparse_rewards.py
imports: from copy import deepcopy
  import gymnasium
  import numpy
  from gymnasium.spaces import Box, Dict, Discrete
label_desc: Use image node_id 5 for calling the CartPoleSparseRewards obj's underlying member method code with example usage: obj.get_state() and returns: deepcopy,  self