def batch_size(self, batch_size):
        if not isinstance(batch_size, (int, long)):
            raise TypeError("batch_size must be an integer")
        if batch_size < 0:
            raise ValueError("batch_size must be >= 0")
        self.__check_okay_to_chain()

        self.__batch_size = batch_size == 1 and 2 or batch_size
        return self
See :func:`burpui.misc.backend.interface.BUIbackend.expand_path`
dataset/ETHPy150Open blynch/CloudMemeBackend/pymongo/cursor.py/Cursor.batch_size--crossover with--dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/backend/burp1.py/Burp.expand_path