MCPcopy Create free account
hub / github.com/FastLED/FastLED / graphql

Function graphql

ci/github_project_drift_sync.py:49–54  ·  view source on GitHub ↗
(query: str, **variables: Any)

Source from the content-addressed store, hash-verified

47
48
49def graphql(query: str, **variables: Any) -> dict[str, Any]:
50 cmd = ["api", "graphql", "-f", f"query={query}"]
51 for k, v in variables.items():
52 cmd.extend(["-F", f"{k}={v}"])
53 out = run_gh(cmd)
54 return json.loads(out) # type: ignore[no-any-return]
55
56
57def resolve_project_node_id(owner: str, number: int) -> str:

Callers 8

resolve_project_node_idFunction · 0.70
fetch_project_itemsFunction · 0.70
fetch_status_fieldFunction · 0.70
set_status_triageFunction · 0.70
fetch_date_fieldFunction · 0.70
set_date_postedFunction · 0.70
fetch_content_created_atFunction · 0.70
add_to_projectFunction · 0.70

Calls 2

run_ghFunction · 0.85
itemsMethod · 0.80

Tested by

no test coverage detected