hunk.code_window: from streamlit.protobuf.BackMsg_pb2 import WidgetStates
   from streamlit.widgets import Widgets
   def _create_widget(id, states):
       widget = WidgetState()
       widget.id = id
       states.widgets.append(widget)
       return states.widgets[-1]
   class ScriptEventQueueTest(unittest.TestCase):
  
hunk.labels: keep keep keep keep keep replace replace replace keep keep keep keep
hunk.after_edit:     states.widgets.add().id = id
  
hunk.file_path: lib/tests/streamlit/ScriptRunner_test.py
hunk.type: replace
file: syntax = "proto3";
  
  message TextInput {
    string id = 1;
    string label = 2;
    string value = 3;
  }
  