code: def get(identifier: str) -> "TensorTradeRewardScheme":
      """Gets the `RewardScheme` that matches with the identifier.
  
      Parameters
      ----------
      identifier : str
          The identifier for the `RewardScheme`
  
      Returns
      -------
      `TensorTradeRewardScheme`
          The reward scheme associated with the `identifier`.
  
      Raises
      ------
      KeyError:
          Raised if identifier is not associated with any `RewardScheme`
      """
      if identifier not in _registry.keys():
          msg = f"Identifier {identifier} is not associated with any `RewardScheme`."
          raise KeyError(msg)
      return _registry[identifier]()
  
imports: from abc import abstractmethod
  import numpy
  import pandas
  from tensortrade.env.generic import RewardScheme, TradingEnv
  from tensortrade.feed.core import Stream, DataFeed
  import math
label_desc: Use image node_id 1 for calling a global function with example usage: get(identifier) and returns: _registry