'The number of results to attempt to retrieve in a batch.
Raises:
datastore_errors.BadArgumentError if value is not a integer or is not
greater than zero.'

@datastore_rpc.ConfigOption
def batch_size(value):

    datastore_types.ValidateInteger(value, 'batch_size', datastore_errors.BadArgumentError)
    return value
