MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / process_and_save

Function process_and_save

worked/example/raw/processor.py:57–61  ·  view source on GitHub ↗

Enrich a validated document and persist it. Returns the record ID.

(doc: dict)

Source from the content-addressed store, hash-verified

55
56
57def process_and_save(doc: dict) -> str:
58 """Enrich a validated document and persist it. Returns the record ID."""
59 enriched = enrich_document(doc)
60 record_id = save_processed(enriched)
61 return record_id
62
63
64def reprocess_all() -> int:

Callers 2

handle_enrichFunction · 0.90
reprocess_allFunction · 0.85

Calls 2

save_processedFunction · 0.90
enrich_documentFunction · 0.85

Tested by

no test coverage detected