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

Function _run

tests/test_extract_code_only_cli.py:29–35  ·  view source on GitHub ↗
(repo: Path, *extra: str)

Source from the content-addressed store, hash-verified

27
28
29def _run(repo: Path, *extra: str):
30 env = {k: v for k, v in os.environ.items() if k not in _KEY_VARS}
31 env["GRAPHIFY_OUT"] = str(repo / "graphify-out")
32 return subprocess.run(
33 [PYTHON, "-m", "graphify", "extract", ".", *extra],
34 cwd=repo, capture_output=True, text=True, env=env,
35 )
36
37
38def test_code_only_succeeds_without_key(tmp_path):

Calls 2

runMethod · 0.65
itemsMethod · 0.45

Tested by

no test coverage detected