code: def test_file_uploader_protos_stable(proto_class, expected_fields):
      d = proto_class.DESCRIPTOR
  
      assert {
          (f.name, f.label, f.type) for f in d.fields
      } == expected_fields
  
file_path: streamlit/lib/tests/streamlit/proto_compatibility_test.py
imports: from google.protobuf.descriptor import FieldDescriptor
  from parameterized import parameterized
  from streamlit.proto.Alert_pb2 import Alert
  from streamlit.proto.AppPage_pb2 import AppPage
  from streamlit.proto.Common_pb2 import FileURLs, FileURLsRequest, FileURLsResponse
  from streamlit.proto.Exception_pb2 import Exception
  from streamlit.proto.NewSession_pb2 import Config, CustomThemeConfig, EnvironmentInfo, FontFace, FontSizes, Initialize, NewSession, Radii, UserInfo
  from streamlit.proto.ParentMessage_pb2 import ParentMessage
  from streamlit.proto.SessionStatus_pb2 import SessionStatus
label_desc: Use image node_id 2 for calling a global function with example usage: test_file_uploader_protos_stable(proto_class, expected_fields) without return types