code: def test_sequence_input(self):
      text_config = """
        max_queue_size: 1
        input_stream: 'in'
        output_stream: 'out'
        node {
          calculator: 'PassThroughCalculator'
          input_stream: 'in'
          output_stream: 'out'
        }
      """
      hello_world_packet = packet_creator.create_string("hello world")
      out = []
      graph = CalculatorGraph(graph_config=text_config)
      graph.observe_output_stream(
          "out", lambda _, packet: out.append(packet)
      )
      graph.start_run()
  
      sequence_size = 1000
      for i in range(sequence_size):
          graph.add_packet_to_input_stream(
              stream="in", packet=hello_world_packet, timestamp=i
          )
      graph.wait_until_idle()
      self.assertLen(out, sequence_size)
      for i in range(sequence_size):
          self.assertEqual(out[i].timestamp, i)
          self.assertEqual(packet_getter.get_str(out[i]), "hello world")
  
file_path: mediapipe/mediapipe/python/calculator_graph_test.py
imports: from absl.testing import absltest
  from google.protobuf import text_format
  from mediapipe.framework import calculator_pb2
  from mediapipe.python import packet_creator
  from mediapipe.python import packet_getter
  from mediapipe.python._framework_bindings import calculator_graph
  from mediapipe.python._framework_bindings import validated_graph_config
label_desc: Use image node_id 9 for calling the GraphTest obj's underlying member method code with example usage: obj.test_sequence_input() without return types