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

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

        :returns: a generator of items