Version: latest
agrag.evidence.run_status.attach_run_statuses
attach_run_statuses(graph_store:GraphStore, summaries:Sequence[DocumentSummary]) -> list[DocumentSummary]
Return the summaries with the run of each document attached.
Parameters:
- graph_store (
GraphStore) – The store that holds the runs. - summaries (
Sequence[DocumentSummary]) – The document summaries to complete.
Returns:
list[DocumentSummary]– One summary per input, in the same order, withrunset when thelist[DocumentSummary]– document has a run and None otherwise.