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

Function _platform_artifacts

tests/test_skillgen.py:241–247  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

239
240
241def _platform_artifacts(key):
242 platforms = gen.load_platforms()
243 arts = gen.render_all(platforms, only=key)
244 skill_dst = platforms[key].skill_dst
245 core = next(a for a in arts if a.path == skill_dst)
246 refs = {a.path.rsplit("/", 1)[-1]: a.content for a in arts if a.path != skill_dst}
247 return core.content, refs
248
249
250def test_check_passes_for_codex_and_windows():

Calls

no outgoing calls

Tested by

no test coverage detected