MCPcopy Create free account
hub / github.com/GerevAI/gerev / run_task

Method run_task

app/data_source/api/base_data_source.py:133–136  ·  view source on GitHub ↗
(self, function_name: str, **kwargs)

Source from the content-addressed store, hash-verified

131 TaskQueue.get_instance().add_task(task)
132
133 def run_task(self, function_name: str, **kwargs) -> None:
134 self._last_task_time = get_utc_time_now()
135 function = getattr(self, function_name)
136 function(**kwargs)
137
138 def index(self, force: bool = False) -> None:
139 if self._last_task_time is not None and not force:

Callers 1

runMethod · 0.80

Calls 1

get_utc_time_nowFunction · 0.90

Tested by

no test coverage detected