MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / get_issue_content

Method get_issue_content

camel/toolkits/github_toolkit.py:160–173  ·  view source on GitHub ↗

r"""Retrieves the content of a specific issue by its number. Args: issue_number (int): The number of the issue to retrieve. Returns: str: issues content details.

(self, issue_number: int)

Source from the content-addressed store, hash-verified

158 return issues_info
159
160 def get_issue_content(self, issue_number: int) -> str:
161 r"""Retrieves the content of a specific issue by its number.
162
163 Args:
164 issue_number (int): The number of the issue to retrieve.
165
166 Returns:
167 str: issues content details.
168 """
169 try:
170 issue = self.repo.get_issue(number=issue_number)
171 return issue.body
172 except Exception as e:
173 return f"can't get Issue number {issue_number}: {e!s}"
174
175 def get_pull_request_list(
176 self, state: Literal["open", "closed", "all"] = "all"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected