()
| 2699 | |
| 2700 | def _mineru_headers() -> Dict[str, str]: |
| 2701 | token = os.environ.get("MINERU_API_KEY", "").strip() |
| 2702 | return { |
| 2703 | "Authorization": f"Bearer {token}", |
| 2704 | "Content-Type": "application/json", |
| 2705 | } |
| 2706 | |
| 2707 | |
| 2708 | def _mineru_extract_data(payload: Any) -> Dict[str, Any]: |
| 2709 | if isinstance(payload, dict): |
no test coverage detected