def gen_chunks_to_object(self, data, chunksize=100):
        """This is used to generate chunks to object based on chunk size

        Args:
            data (_type_): data from zoom reports api
            chunksize (int, optional): _description_. Defaults to 100.

        Yields:
            _type_: the chunk
        """        
        chunk = []
        for index, line in enumerate(data):
            if (index % chunksize == 0 and index > 0):
                yield chunk
                del chunk[:]
            chunk.append(line)
        yield chunk
This is used to generate chunks to object based on chunk size

        Args:
            data (_type_): data from zoom reports api
            chunksize (int, optional): _description_. Defaults to 100.

        Yields:
            _type_: the chunk
        
Solutions/ZoomReports/Data Connectors/ZoomSentinelConnector/__init__.py