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

Function _run

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

Source from the content-addressed store, hash-verified

31
32
33def _run(args: list[str], cwd: Path, env: dict[str, str] | None = None) -> subprocess.CompletedProcess:
34 return subprocess.run(
35 [PYTHON, "-m", "graphify"] + args,
36 cwd=cwd,
37 capture_output=True,
38 text=True,
39 env=env,
40 )
41
42
43def _make_graph(tmp_path: Path) -> Path:

Calls 1

runMethod · 0.65

Tested by

no test coverage detected