(self, repo: "Repository", comment_id: int)
| 102 | ) |
| 103 | |
| 104 | def issue_comment(self, repo: "Repository", comment_id: int) -> "IssueComment": |
| 105 | for comment in self.issue_comments.values(): |
| 106 | if repo.id == comment._repository and comment.fullDatabaseId == comment_id: |
| 107 | return comment |
| 108 | raise RuntimeError( |
| 109 | f"unrecognized issue comment {comment_id} in repository {repo.nameWithOwner}" |
| 110 | ) |
| 111 | |
| 112 | def next_id(self) -> GraphQLId: |
| 113 | r = GraphQLId(str(self._next_id)) |
no outgoing calls
no test coverage detected