class_docstr: State Interpreter that interpret execution result of qlib executor into rl env state
class_docstr_tok: ["State","Interpreter","that","interpret","execution","result","of","qlib","executor","into","rl","env","state"]
code: def __call__(self, simulator_state: StateType) -> ObsType:
      obs = self.interpret(simulator_state)
      self.validate(obs)
      return obs
  
imports: from __future__ import annotations
  from typing import Any, Generic, TypeVar
  import gym
  import numpy
  from gym import spaces
  from qlib.typehint import final
  from .simulator import ActType, StateType
label_desc: Use image node_id 2 for calling the StateInterpreter obj's underlying member method code with example usage: obj.__call__(simulator_state) and returns: obs