def METHOD_NAME(self, min_size: int, max_size: Optional[int]) -> Tuple[int, int]:
    if max_size is None:
        max_size = min_size
    if min_size != 0:
        raise ValueError("null pools must have min_size = 0")
    if max_size < min_size:
        raise ValueError("max_size must be greater or equal than min_size")
    return min_size, max_size