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

Function _paper_metadata

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

Source from the content-addressed store, hash-verified

182 return result
183
184
185def _paper_metadata(paper: Dict[str, Any]) -> Dict[str, Any]:
186 metadata = paper.get("metadata") or {}
187 if isinstance(metadata, str):
188 metadata = _load_json(metadata, {})
189 return dict(metadata) if isinstance(metadata, dict) else {}
190
191

Callers 5

_paper_doiFunction · 0.70
_paper_arxiv_idFunction · 0.70
_paper_urlFunction · 0.70
_paper_pdf_urlFunction · 0.70
_paper_cardFunction · 0.70

Calls 2

getMethod · 0.80
_load_jsonFunction · 0.70

Tested by

no test coverage detected