def pulls(self, from_date=None):
issues_groups = self.issues(from_date=from_date)<EOL>for raw_issues in issues_groups:<EOL><INDENT>issues = json.loads(raw_issues)<EOL>for issue in issues:<EOL><INDENT>if "<STR_LIT>" not in issue:<EOL><INDENT>continue<EOL><DEDENT>pull_number = issue["<STR_LIT>"]<EOL>path = urijoin(self.base_url, '<STR_LIT>', self.owner, self.repository, "<STR_LIT>", pull_number)<EOL>r = self.fetch(path)<EOL>pull = r.text<EOL>yield pull<EOL><DEDENT><DEDENT>
Fetch the pull requests from the repository.

        The method retrieves, from a GitHub repository, the pull requests
        updated since the given date.

        :param from_date: obtain pull requests updated since this date

        :returns: a generator of pull requests