MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / _worker_initializer

Function _worker_initializer

app/services/ocr_service.py:70–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 return result
69
70
71class OcrService:
72 """Run the vendored TenVision captcha OCR pipeline in this project."""
73
74 def __init__(self, settings: Settings | None = None) -> None:
75 self.settings = settings or get_settings()
76 self._executor: ProcessPoolExecutor | None = None
77 self._executor_lock = threading.Lock()

Callers

nothing calls this directly

Calls 4

_ignore_worker_sigintFunction · 0.85
_clear_proxy_envFunction · 0.85
_load_adapter_moduleFunction · 0.85

Tested by

no test coverage detected