(self, info: GraphQLResolveInfo)
| 207 | return github_state(info).pull_request(self, number) |
| 208 | |
| 209 | def pullRequests(self, info: GraphQLResolveInfo) -> "PullRequestConnection": |
| 210 | return PullRequestConnection( |
| 211 | nodes=list( |
| 212 | filter( |
| 213 | lambda pr: self == pr.repository(info), |
| 214 | github_state(info).pull_requests.values(), |
| 215 | ) |
| 216 | ) |
| 217 | ) |
| 218 | |
| 219 | # TODO: This should take which repository the ref is in |
| 220 | # This only works if you have upstream_sh |
nothing calls this directly
no test coverage detected