MCPcopy Create free account
hub / github.com/closeio/tasktiger / run_single_task

Method run_single_task

tasktiger/runner.py:63–65  ·  view source on GitHub ↗
(self, task: "Task", hard_timeout: float)

Source from the content-addressed store, hash-verified

61 """
62
63 def run_single_task(self, task: "Task", hard_timeout: float) -> None:
64 with UnixSignalDeathPenalty(hard_timeout):
65 task.func(*task.args, **task.kwargs)
66
67 def run_batch_tasks(self, tasks: List["Task"], hard_timeout: float) -> None:
68 params = [{"args": task.args, "kwargs": task.kwargs} for task in tasks]

Callers

nothing calls this directly

Calls 2

funcMethod · 0.80

Tested by

no test coverage detected