(response_language: str)
| 2659 | raise ValueError("arxiv_id is required") |
| 2660 | raw = raw.removeprefix("https://arxiv.org/abs/").removeprefix("http://arxiv.org/abs/") |
| 2661 | raw = raw.removeprefix("https://arxiv.org/pdf/").removeprefix("http://arxiv.org/pdf/") |
| 2662 | raw = raw.removesuffix(".pdf") |
| 2663 | return raw.strip() |
| 2664 | |
| 2665 | |
| 2666 | def read_arxiv( |
| 2667 | user_id: str, |
no test coverage detected