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

Function _required_user

deployments/desktop/server.py:72–76  ·  view source on GitHub ↗
(params: Dict[str, Any])

Source from the content-addressed store, hash-verified

70 return parsed.path, query
71
72
73def _required_user(params: Dict[str, Any]) -> str:
74 user_id = str(params.get("user_id") or "").strip()
75 if not user_id:
76 raise ValueError("user_id is required")
77 return user_id
78
79

Callers 10

_api_profileFunction · 0.85
_api_latest_pushFunction · 0.85
_api_wiki_statsFunction · 0.85
_api_wiki_searchFunction · 0.85
_api_wiki_mentionsFunction · 0.85
_api_wiki_graphFunction · 0.85
_api_activityFunction · 0.85
_api_must_readFunction · 0.85
_api_chat_sessionsFunction · 0.85
_api_chat_sessionFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected