(path_value: str)
| 18 | |
| 19 | |
| 20 | def _resolve_existing_output_path(path_value: str) -> str: |
| 21 | raw = (path_value or "").strip() |
| 22 | if not raw: |
| 23 | return "" |
| 24 | |
| 25 | candidate = Path(raw).expanduser() |
| 26 | if not candidate.is_absolute(): |
| 27 | candidate = (Path(__file__).resolve().parent.parent / candidate).resolve() |
| 28 | |
| 29 | return str(candidate) if candidate.is_file() else "" |
| 30 | |
| 31 | |
| 32 | def _build_worker_result(output_pptx_path: str, output_png_path: str, errors: list[str]) -> dict: |
no outgoing calls
no test coverage detected