def chunks(self, l: list, chunk_size: int):
        """Yield successive n-sized chunks from list."""
        for i in range(0, len(l), chunk_size):
            yield l[i:i + chunk_size]
Yield successive n-sized chunks from list.
Solutions/GreyNoiseThreatIntelligence/Data Connectors/GreyNoiseAPISentinelConnector/main.py