def get_by_project(self, context, project_id, resource):
        # Unlimited
        return -1
Generator function to iterate through all minibatches
dataset/ETHPy150Open openstack/nova/nova/quota.py/NoopQuotaDriver.get_by_project--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/utils/datasets.py/BatchIterator.__iter__