MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / get_executor

Function get_executor

core/task_executor.py:173–180  ·  view source on GitHub ↗

Return the module-level TaskExecutor singleton.

()

Source from the content-addressed store, hash-verified

171
172
173def get_executor() -> TaskExecutor:
174 """Return the module-level TaskExecutor singleton."""
175 global _executor
176 if _executor is None:
177 from core.state import get_state_store
178 from core.daemon_config import get_config
179 _executor = TaskExecutor(get_state_store(), get_config())
180 return _executor
181
182
183def reset_executor():

Callers

nothing calls this directly

Calls 3

get_state_storeFunction · 0.90
get_configFunction · 0.90
TaskExecutorClass · 0.85

Tested by

no test coverage detected