(self, info: GraphQLResolveInfo, id: GraphQLId)
| 299 | return github_state(info).repository(owner, name) |
| 300 | |
| 301 | def node(self, info: GraphQLResolveInfo, id: GraphQLId) -> Node: |
| 302 | if id in github_state(info).repositories: |
| 303 | return github_state(info).repositories[id] |
| 304 | elif id in github_state(info).pull_requests: |
| 305 | return github_state(info).pull_requests[id] |
| 306 | elif id in github_state(info).issue_comments: |
| 307 | return github_state(info).issue_comments[id] |
| 308 | else: |
| 309 | raise RuntimeError("unknown id {}".format(id)) |
| 310 | |
| 311 | |
| 312 | with open( |
nothing calls this directly
no test coverage detected