def fetch_items(self, category, **kwargs):
from_date = kwargs['<STR_LIT>']<EOL>logger.info("<STR_LIT>",<EOL>self.url, str(from_date))<EOL>nbugs = <NUM_LIT:0><EOL>for bug in self.__fetch_and_parse_bugs(from_date):<EOL><INDENT>nbugs += <NUM_LIT:1><EOL>yield bug<EOL><DEDENT>logger.info("<STR_LIT>", nbugs)<EOL>
Fetch the bugs

        :param category: the category of items to fetch
        :param kwargs: backend arguments

        :returns: a generator of items