code: def parse_node(node_text: str) -> onnx.NodeProto:
      """Parse a string to build a NodeProto.
  
      Arguments:
          node_text: formatted string
      Returns:
          NodeProto
      """
      (success, msg, node_proto_str) = C.parse_node(node_text)
      if success:
          node_proto = onnx.NodeProto()
          node_proto.ParseFromString(node_proto_str)
          return node_proto
      raise ParseError(msg)
  
file_path: onnx/onnx/parser.py
imports: import onnx
  import onnx.onnx_cpp2py_export.parser
label_desc: Use image node_id 4 for calling a global function with example usage: parse_node(node_text) and returns: node_proto