class_docstr: SchemaRepr test
code: def test_flat_map_window(self):
      schema = SchemaRepr.from_dag("a", "flat_map", [ColumnType.QUEUE])
      self.assertEqual(schema.type, ColumnType.QUEUE)
      schema = SchemaRepr.from_dag("a", "flat_map", [ColumnType.SCALAR])
      self.assertEqual(schema.type, ColumnType.QUEUE)
  
      schema = SchemaRepr.from_dag("a", "window", [ColumnType.QUEUE])
      self.assertEqual(schema.type, ColumnType.QUEUE)
      schema = SchemaRepr.from_dag("a", "window", [ColumnType.SCALAR])
      self.assertEqual(schema.type, ColumnType.QUEUE)
  
file_path: towhee/tests/unittests/runtime/test_schema_repr.py
imports: import unittest
  from towhee.runtime.schema_repr import SchemaRepr
  from towhee.runtime.data_queue import ColumnType
label_desc: Use image node_id 3 for calling the TestSchemaRepr obj's underlying member method code with example usage: obj.test_flat_map_window() without return types