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

Function _api_feedback

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

Source from the content-addressed store, hash-verified

295 )
296
297
298def _api_feedback(_query_params: Dict[str, Any], body: Dict[str, Any]) -> Dict[str, Any]:
299 user_id = str(body.get("user_id") or "").strip()
300 push_id = str(body.get("push_id") or "").strip()
301 if not user_id or not push_id:
302 raise ValueError("user_id and push_id are required")
303 return agents.submit_gui_feedback(
304 user_id=user_id,
305 push_id=push_id,
306 selected_numbers=body.get("selected_numbers") or [],
307 skipped_numbers=body.get("skipped_numbers") or [],
308 later_numbers=body.get("later_numbers") or [],
309 )
310
311

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected