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

Function resolve_project_node_id

ci/github_project_drift_sync.py:57–68  ·  view source on GitHub ↗
(owner: str, number: int)

Source from the content-addressed store, hash-verified

55
56
57def resolve_project_node_id(owner: str, number: int) -> str:
58 q = """
59 query($owner: String!, $number: Int!) {
60 organization(login: $owner) {
61 projectV2(number: $number) { id }
62 }
63 }
64 """
65 d = graphql(q, owner=owner, number=number)
66 node_id = d["data"]["organization"]["projectV2"]["id"]
67 assert isinstance(node_id, str)
68 return node_id
69
70
71def fetch_project_items(

Callers 1

mainFunction · 0.85

Calls 1

graphqlFunction · 0.70

Tested by

no test coverage detected