class_docstr: Test ability to marshall text_input protos.
class_docstr_tok: ["Test","ability","to","marshall","text_input","protos","."]
docstr: Test that it supports different types of values.
docstr_tok: ["Test","that","it","supports","different","types","of","values","."]
code: def test_value_types(self):
      """Test that it supports different types of values."""
      arg_values = ["some str", 123, {}, SomeObj()]
      proto_values = ["some str", "123", "{}", ".*SomeObj.*"]
  
      for arg_value, proto_value in zip(arg_values, proto_values):
          st.text_input("the label", arg_value)
  
          c = self.get_delta_from_queue().new_element.text_input
          self.assertEqual(c.label, "the label")
          self.assertTrue(re.match(proto_value, c.default))
  
imports: import re
  from unittest.mock import MagicMock, patch
  from parameterized import parameterized
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.LabelVisibilityMessage_pb2 import LabelVisibilityMessage
  from streamlit.proto.TextInput_pb2 import TextInput
  from streamlit.testing.v1.app_test import AppTest
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 3 for calling the TextInputTest obj's underlying member method code with example usage: obj.test_value_types() without return types