MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / get_report_content

Function get_report_content

deployments/desktop/shared/agents.py:2946–2960  ·  view source on GitHub ↗
(report_id: str)

Source from the content-addressed store, hash-verified

2944 continue
2945 reports.append(_report_summary_payload(report))
2946 if len(reports) >= max_items:
2947 break
2948
2949 return {
2950 "reports": reports,
2951 "count": len(reports),
2952 "source_dirs": [_display_path(path) for path in _reading_report_dirs()],
2953 }
2954
2955
2956def get_report_content(report_id: str) -> Dict[str, Any]:
2957 normalized_id = str(report_id or "").strip()
2958 if not normalized_id:
2959 raise ValueError("report_id is required")
2960 for report in _all_report_records():
2961 if report["report_id"] != normalized_id:
2962 continue
2963 return {

Callers

nothing calls this directly

Calls 2

_all_report_recordsFunction · 0.85
_report_summary_payloadFunction · 0.85

Tested by

no test coverage detected