MCPcopy Create free account
hub / github.com/UbiquitousLearning/mllm / run

Method run

task.py:347–356  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

345 super().__init__(config)
346
347 def run(self):
348 COMMANDS = [
349 "pybind11-stubgen",
350 "pymllm._C",
351 ]
352 throw_error_if_failed(os.system(self.make_command_str(COMMANDS)))
353 logging.info(self.make_command_str(COMMANDS))
354 tmp_C_path = PROJECT_ROOT_PATH / "stubs" / "pymllm"
355 _C_path = PROJECT_ROOT_PATH / "pymllm"
356 self.copy_files(tmp_C_path, _C_path)
357
358 def copy_files(self, src_dir, dst_dir):
359 import shutil

Callers

nothing calls this directly

Calls 3

copy_filesMethod · 0.95
throw_error_if_failedFunction · 0.85
make_command_strMethod · 0.80

Tested by

no test coverage detected