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

Method test_parquet_reader_codegen

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

Source from the content-addressed store, hash-verified

198 compile(code, "<test>", "exec")
199
200 def test_parquet_reader_codegen(self):
201 from docetl.frame import read_parquet
202 frame = read_parquet("data.parquet").map(prompt="p")
203 code = frame.to_python()
204 assert "docetl.read_parquet(" in code
205 compile(code, "<test>", "exec")
206
207
208class TestCodegenEscaping:

Callers

nothing calls this directly

Calls 3

read_parquetFunction · 0.90
to_pythonMethod · 0.80
mapMethod · 0.45

Tested by

no test coverage detected