MCPcopy Create free account
hub / github.com/LLMQuant/quant-mind / _fetch_metadata_sync

Function _fetch_metadata_sync

quantmind/preprocess/fetch/arxiv.py:68–74  ·  view source on GitHub ↗
(arxiv_id: str)

Source from the content-addressed store, hash-verified

66
67
68def _fetch_metadata_sync(arxiv_id: str) -> arxiv.Result:
69 client = arxiv.Client()
70 search = arxiv.Search(id_list=[arxiv_id])
71 results = list(client.results(search))
72 if not results:
73 raise LookupError(f"arXiv id not found: {arxiv_id!r}")
74 return results[0]
75
76
77async def fetch_arxiv(id_or_url: str) -> RawPaper:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected