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

Function _preview_key

deployments/desktop/shared/agents.py:314–321  ·  view source on GitHub ↗
(paper: Dict[str, Any])

Source from the content-addressed store, hash-verified

312 }
313
314
315def _preview_key(paper: Dict[str, Any]) -> str:
316 return str(
317 paper.get("id")
318 or paper.get("arxiv_id")
319 or paper.get("doi")
320 or paper.get("title")
321 or ""
322 ).strip().casefold()
323
324

Callers 1

callbackFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected