data/data_collection.py
def _get_pull_request_review_time(
            pull_request_info: dict) -> Tuple[float, float, float]:
        """Computes the total review time of a pull request.

        Args:
            pull_request_info: A dict of a pull request information.
        Returns:
            A tuple of three float numbers: pull request created time,
            pull request closed time, and pull request review time.
        """
        pull_request_created_time = to_timestamp(
            pull_request_info['created_at'])
        pull_request_closed_time = to_timestamp(pull_request_info['closed_at'])
        pull_request_review_time = pull_request_closed_time - \
            pull_request_created_time
        return pull_request_info['created_at'], pull_request_info['closed_at'],\
            pull_request_review_time
Computes the total review time of a pull request.

        Args:
            pull_request_info: A dict of a pull request information.
        Returns:
            A tuple of three float numbers: pull request created time,
            pull request closed time, and pull request review time.
        
Computes the total review time of a pull request.
Computes the total review time of a pull request .
def _get_pull_request_review_time(
            pull_request_info: dict) -> Tuple[float, float, float]:
        pull_request_created_time = to_timestamp(
            pull_request_info['created_at'])
        pull_request_closed_time = to_timestamp(pull_request_info['closed_at'])
        pull_request_review_time = pull_request_closed_time - \
            pull_request_created_time
        return pull_request_info['created_at'], pull_request_info['closed_at'],\
            pull_request_review_time
def _get_pull_request_review_time ( pull_request_info : dict ) -> Tuple [ float , float , float ] : pull_request_created_time = to_timestamp ( pull_request_info [ 'created_at' ] ) pull_request_closed_time = to_timestamp ( pull_request_info [ 'closed_at' ] ) pull_request_review_time = pull_request_closed_time - pull_request_created_time return pull_request_info [ 'created_at' ] , pull_request_info [ 'closed_at' ] , pull_request_review_time
Computes the total review time of a pull request.
Computes the total review time of a pull request .
"""Computes the total review time of a pull request.

        Args:
            pull_request_info: A dict of a pull request information.
        Returns:
            A tuple of three float numbers: pull request created time,
            pull request closed time, and pull request review time.
        """
A tuple of three float numbers: pull request created time,
pull request closed time, and pull request review time.
A tuple of three float numbers : pull request created time pull request closed time and pull request review time .
pull_request_info
dict
A dict of a pull request information.
A dict of a pull request information .