MCPcopy Create free account
hub / github.com/ezyang/ghstack / github_state

Function github_state

src/ghstack/github_fake.py:191–194  ·  view source on GitHub ↗
(info: GraphQLResolveInfo)

Source from the content-addressed store, hash-verified

189
190
191def github_state(info: GraphQLResolveInfo) -> GitHubState:
192 context = info.context
193 assert isinstance(context, GitHubState)
194 return context
195
196
197@dataclass

Callers 8

pullRequestMethod · 0.85
pullRequestsMethod · 0.85
repositoryMethod · 0.85
repositoryMethod · 0.85
repositoryMethod · 0.85
repositoryMethod · 0.85
repositoryMethod · 0.85
nodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected