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

Function _api_daily_start

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

Source from the content-addressed store, hash-verified

279 )
280
281
282def _api_daily_start(_query_params: Dict[str, Any], body: Dict[str, Any]) -> Dict[str, Any]:
283 user_id = str(body.get("user_id") or "").strip()
284 if not user_id:
285 raise ValueError("user_id is required")
286 return agents.start_daily_push_task(
287 user_id=user_id,
288 days=_daily_days_from_body(body),
289 limit_per_source=_optional_positive_int(body.get("limit_per_source")),
290 arxiv_categories=body.get("arxiv_categories"),
291 conferences=body.get("conferences"),
292 journals=body.get("journals"),
293 target_date=_target_date_from_body(body),
294 force_refresh=bool(body.get("force_refresh")),
295 )
296
297

Callers

nothing calls this directly

Calls 4

_daily_days_from_bodyFunction · 0.85
_optional_positive_intFunction · 0.85
_target_date_from_bodyFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected