(index: int)
| 75 | self.settings = settings or get_settings() |
| 76 | self._executor: ProcessPoolExecutor | None = None |
| 77 | self._executor_lock = threading.Lock() |
| 78 | self._bootstrap_lock = threading.Lock() |
| 79 | self._engine_bootstrapped = False |
| 80 | |
| 81 | def status_payload(self) -> dict[str, Any]: |
| 82 | missing = self._missing_dependencies() |
| 83 | return { |
| 84 | "enabled": self.settings.tencent_ocr_enabled, |
| 85 | "adapter": "local-tenvision-process-pool", |
| 86 | "available": not missing, |
| 87 | "missing_dependencies": missing, |
| 88 | "include_debug": self.settings.tencent_ocr_include_debug, |
nothing calls this directly
no test coverage detected