def chunks(data: List[Any], size: int) -> Generator[List[Any], None, None]:
    """
    Splits the provided data into chunks of the specified size.
    This is a generator function that yields chunks of data as lists.

    Parameters:
    data (List[Any]): The data to be chunked.
    size (int): The size of each chunk.

    Yields:
    List[Any]: A chunk of the original data.
    """
    for i in range(0, len(data), size):
        yield data[i : i + size]

    Splits the provided data into chunks of the specified size.
    This is a generator function that yields chunks of data as lists.

    Parameters:
    data (List[Any]): The data to be chunked.
    size (int): The size of each chunk.

    Yields:
    List[Any]: A chunk of the original data.
    
Solutions/CognyteLuminar/Data Connectors/CognyteLuminar/main.py