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

Method issue_comment

src/ghstack/github_fake.py:104–110  ·  view source on GitHub ↗
(self, repo: "Repository", comment_id: int)

Source from the content-addressed store, hash-verified

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))

Callers 2

_update_issue_commentMethod · 0.80
restMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected