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

Function prepare

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

Source from the content-addressed store, hash-verified

979 obj["nested"] = obj.copy()
980
981 def prepare():
982 G.clear()
983 table = pw.debug.table_from_rows(
984 TableSchema,
985 [(*(obj.values()), obj)],
986 )
987 pw.io.jsonlines.write(table, tmp_path / "input.jsonl")
988 run()
989
990 def read():
991 G.clear()

Callers 2

test_json_serdeFunction · 0.85

Calls 4

runFunction · 0.90
clearMethod · 0.80
valuesMethod · 0.80
writeMethod · 0.80

Tested by

no test coverage detected