def __get_interests(self):
        """Method to procure description of repositories the authenticated user
        is interested in.

        We currently attribute interest to:
        1. The repositories the authenticated user has starred.
        2. The repositories the users the authenticated user follows have
        starred.

        :return: List of repository descriptions.
        """
        # All repositories of interest.
        repos_of_interest = itertools.chain(
            self.user_starred_repositories,
            self.user_following_starred_repositories,
        )

        # Extract descriptions out of repositories of interest.
        repo_descriptions = [repo.description for repo in repos_of_interest]
        return list(set(repo_descriptions))
def __get_interests ( self ) : repos_of_interest = itertools . chain ( self . user_starred_repositories , self . user_following_starred_repositories , ) repo_descriptions = [ repo . description for repo in repos_of_interest ] return list ( set ( repo_descriptions ) )
Method to procure description of repositories the authenticated user
        is interested in.

        We currently attribute interest to:
        1. The repositories the authenticated user has starred.
        2. The repositories the users the authenticated user follows have
        starred.

        :return: List of repository descriptions.