code: def batch_size(self):
          
          batch_size = self.get("batch_size", DEFAULT_BATCH_SIZE)
          if self.limit is not None:
              return min(self.limit, batch_size)
          return batch_size
docs: int: The number of results to fetch per batch.  Clamped to
          limit if limit is set and is smaller than the given batch
          size.