code: def get(identifier: str) -> Portfolio:
      """Gets the `TradingStrategy` that matches with the identifier.
  
      Arguments:
          identifier: The identifier for the `TradingStrategy`
  
      Raises:
          KeyError: if identifier is not associated with any `TradingStrategy`
      """
      if identifier not in _registry.keys():
          raise KeyError(
              "Identifier {} is not associated with any `TradingStrategy`.".format(
                  identifier
              )
          )
      return _registry[identifier]
  
label_desc: Use image node_id 1 for calling a global function with example usage: get(identifier) and returns: _registry