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

Function _run

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

Source from the content-addressed store, hash-verified

70
71
72def _run(args: list[str], cwd: Path, env: dict[str, str] | None = None) -> subprocess.CompletedProcess:
73 env = dict(env if env is not None else os.environ, GRAPHIFY_NO_AUTO_REFRESH="1", **_VIZ_ENV)
74 return subprocess.run([PYTHON, "-m", "graphify", *args], cwd=cwd,
75 capture_output=True, text=True, env=env)
76
77
78def _html_arcs(html_path: Path) -> set[tuple[str, str]]:

Calls 1

runMethod · 0.65

Tested by

no test coverage detected