MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _run

Function _run

tests/test_incremental.py:24–32  ·  view source on GitHub ↗
(args: list[str], cwd: Path)

Source from the content-addressed store, hash-verified

22
23
24def _run(args: list[str], cwd: Path) -> subprocess.CompletedProcess:
25 env = {k: v for k, v in os.environ.items() if k not in _LLM_ENV_KEYS}
26 return subprocess.run(
27 [PYTHON, "-m", "graphify"] + args,
28 cwd=cwd,
29 capture_output=True,
30 text=True,
31 env=env,
32 )
33
34
35def _make_docs_corpus(tmp_path: Path) -> Path:

Calls 2

runMethod · 0.65
itemsMethod · 0.45

Tested by

no test coverage detected