MCPcopy Index your code
hub / github.com/pathwaycom/pathway / read

Function read

python/pathway/tests/test_json.py:990–999  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

988 run()
989
990 def read():
991 G.clear()
992 table = pw.io.jsonlines.read(
993 tmp_path / "input.jsonl", schema=TableSchema, mode="static"
994 )
995 expected = pw.debug.table_from_rows(
996 TableSchema,
997 [(*(obj.values()), obj)],
998 )
999 assert_table_equality_wo_index(table, expected)
1000
1001 prepare()
1002 read()

Callers 2

test_json_serdeFunction · 0.70

Calls 3

tupleFunction · 0.85
clearMethod · 0.80
valuesMethod · 0.80

Tested by

no test coverage detected