class_docstr: A component to generate an observation at each step of an episode.
      
class_docstr_tok: ["A","component","to","generate","an","observation","at","each","step","of","an","episode","."]
docstr: Gets the observation at the current step of an episode
  
  Parameters
  ----------
  env: 'TradingEnv'
      The trading environment.
  
  Returns
  -------
  `np.array`
      The current observation of the environment.
docstr_tok: ["Gets","the","observation","at","the","current","step","of","an","episode","Parameters","--","--","--","--","--","env",":","'TradingEnv'","The","trading","environment",".","Returns","--","--","--","-","`","np.array","`","The","current","observation","of","the","environment","."]
code: def observe(self, env: "TradingEnv") -> np.array:
      """Gets the observation at the current step of an episode
  
      Parameters
      ----------
      env: 'TradingEnv'
          The trading environment.
  
      Returns
      -------
      `np.array`
          The current observation of the environment.
      """
      raise NotImplementedError()
  
file_path: tensortrade/tensortrade/env/generic/components/observer.py
imports: from abc import abstractmethod
  import numpy
  from gym.spaces import Space
  from tensortrade.core.component import Component
  from tensortrade.core.base import TimeIndexed
label_desc: Use image node_id 2 for calling the Observer obj's underlying member method code with example usage: obj.observe(env) without return types