MCPcopy Create free account
hub / github.com/google-research/language / write_documents

Function write_documents

language/quest/common/document_utils.py:36–38  ·  view source on GitHub ↗
(filepath, documents)

Source from the content-addressed store, hash-verified

34
35
36def write_documents(filepath, documents):
37 documents_json = [dataclasses.asdict(document) for document in documents]
38 jsonl_utils.write(filepath, documents_json)

Callers

nothing calls this directly

Calls 1

asdictMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…