MCPcopy
hub / github.com/ucbepic/docetl / test_csv_reader_codegen

Method test_csv_reader_codegen

tests/test_builder.py:193–198  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

191 compile(code, "<test>", "exec")
192
193 def test_csv_reader_codegen(self):
194 from docetl.frame import read_csv
195 frame = read_csv("data.csv").map(prompt="p")
196 code = frame.to_python()
197 assert "docetl.read_csv(" in code
198 compile(code, "<test>", "exec")
199
200 def test_parquet_reader_codegen(self):
201 from docetl.frame import read_parquet

Callers

nothing calls this directly

Calls 3

read_csvFunction · 0.90
to_pythonMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected