def set_regions_batch_size(batch: int):
    """ Set the number of regions to be loaded for each batch at the end of the materialize operation.
    This setting is very low level and does not affect the result of the query, but changing this parameter
    could speed up the loading of the results in Python in certain contexts.

    :param batch: Number of regions.
    :return: None
    """
    global __regions_batch_size
    __regions_batch_size = batch
