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

Function _api_read

deployments/desktop/server.py:311–322  ·  view source on GitHub ↗
(_query_params: Dict[str, Any], body: Dict[str, Any])

Source from the content-addressed store, hash-verified

309 )
310
311
312def _api_read(_query_params: Dict[str, Any], body: Dict[str, Any]) -> Dict[str, Any]:
313 user_id = str(body.get("user_id") or "").strip()
314 push_id = str(body.get("push_id") or "").strip()
315 if not user_id or not push_id:
316 raise ValueError("user_id and push_id are required")
317 return agents.create_reading_reports(
318 user_id=user_id,
319 push_id=push_id,
320 paper_numbers=body.get("paper_numbers") or body.get("selected_numbers") or [],
321 write_feishu=body.get("write_feishu"),
322 response_language=_response_language(body),
323 )
324
325

Callers

nothing calls this directly

Calls 2

_response_languageFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected