MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / create_comment

Method create_comment

github/PullRequest.py:457–461  ·  view source on GitHub ↗

:calls: `POST /repos/{owner}/{repo}/pulls/{pull_number}/comments `_

(self, body: str, commit: github.Commit.Commit, path: str, position: int)

Source from the content-addressed store, hash-verified

455 return github.Issue.Issue(self._requester, url=self.issue_url)
456
457 def create_comment(self, body: str, commit: github.Commit.Commit, path: str, position: int) -> PullRequestComment:
458 """
459 :calls: `POST /repos/{owner}/{repo}/pulls/{pull_number}/comments <https://docs.github.com/en/rest/reference/pulls#review-comments>`_
460 """
461 return self.create_review_comment(body, commit, path, position)
462
463 def create_review_comment(
464 self,

Callers

nothing calls this directly

Calls 1

create_review_commentMethod · 0.95

Tested by

no test coverage detected