code: def get(identifier: str) -> "ActionScheme":
      """Gets the `ActionScheme` that matches with the identifier.
  
      Parameters
      ----------
      identifier : str
          The identifier for the `ActionScheme`.
  
      Returns
      -------
      'ActionScheme'
          The action scheme associated with the `identifier`.
  
      Raises
      ------
      KeyError:
          Raised if the `identifier` is not associated with any `ActionScheme`.
      """
      if identifier not in _registry.keys():
          raise KeyError(
              f"Identifier {identifier} is not associated with any `ActionScheme`."
          )
      return _registry[identifier]()
  
imports: import logging
  from abc import abstractmethod
  from itertools import product
  from typing import Union, List, Any
  from gym.spaces import Space, Discrete
  from tensortrade.core import Clock
  from tensortrade.env.generic import ActionScheme, TradingEnv
  from tensortrade.oms.instruments import ExchangePair
  from tensortrade.oms.orders import Broker, Order, OrderListener, OrderSpec, proportion_order, risk_managed_order, TradeSide, TradeType
  from tensortrade.oms.wallets import Portfolio
label_desc: Use image node_id 1 for calling a global function with example usage: get(identifier) and returns: _registry