data/data_collection.py
def _get_review_comments_body(
            self, pull_request_number: int) -> List[Tuple[str, str]]:
        """Retrieves the review comments of a given pull request id.

        Args:
            pull_request_number: An integer of pull request id.
        Returns:
            A list of tuples. Each tuple consists of two strs: a file path,
            and a review comment message.
        """
        review_comments = get_pull_request_review_comments(
            self._repo_name, pull_request_number, self._auth)
        if not review_comments:
            return []
        review_comments_msg = []
        for comment in review_comments:
            review_comments_msg.append((comment['path'], comment['body']))
        return review_comments_msg
Retrieves the review comments of a given pull request id.

        Args:
            pull_request_number: An integer of pull request id.
        Returns:
            A list of tuples. Each tuple consists of two strs: a file path,
            and a review comment message.
        
Retrieves the review comments of a given pull request id.
Retrieves the review comments of a given pull request id .
def _get_review_comments_body(
            self, pull_request_number: int) -> List[Tuple[str, str]]:
        review_comments = get_pull_request_review_comments(
            self._repo_name, pull_request_number, self._auth)
        if not review_comments:
            return []
        review_comments_msg = []
        for comment in review_comments:
            review_comments_msg.append((comment['path'], comment['body']))
        return review_comments_msg
def _get_review_comments_body ( self , pull_request_number : int ) -> List [ Tuple [ str , str ] ] : review_comments = get_pull_request_review_comments ( self . _repo_name , pull_request_number , self . _auth ) if not review_comments : return [ ] review_comments_msg = [ ] for comment in review_comments : review_comments_msg . append ( ( comment [ 'path' ] , comment [ 'body' ] ) ) return review_comments_msg
Retrieves the review comments of a given pull request id.
Retrieves the review comments of a given pull request id .
"""Retrieves the review comments of a given pull request id.

        Args:
            pull_request_number: An integer of pull request id.
        Returns:
            A list of tuples. Each tuple consists of two strs: a file path,
            and a review comment message.
        """
A list of tuples. Each tuple consists of two strs: a file path,
and a review comment message.
A list of tuples . Each tuple consists of two strs : a file path and a review comment message .
self
pull_request_number
int
An integer of pull request id.
An integer of pull request id .