<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_batches(self, items):
 """given a list yield list at most self.max_batch_size in size"""

        for i in xrange(0, len(items), self.max_batch_size):
            yield items[i:i + self.max_batch_size]