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

Function _run

tests/test_cli_export.py:19–26  ·  view source on GitHub ↗
(args: list[str], cwd: Path, env: dict[str, str] | None = None)

Source from the content-addressed store, hash-verified

17
18
19def _run(args: list[str], cwd: Path, env: dict[str, str] | None = None) -> subprocess.CompletedProcess:
20 return subprocess.run(
21 [PYTHON, "-m", "graphify"] + args,
22 cwd=cwd,
23 capture_output=True,
24 text=True,
25 env=env,
26 )
27
28
29def _make_graph(tmp_path: Path) -> Path:

Calls 1

runMethod · 0.45

Tested by

no test coverage detected