def get_chunks(lst):
        """Yield successive n-sized chunks from lst."""
        for i in range(0, len(lst), 100):
            yield lst[i: i + 100]
Yield successive n-sized chunks from lst.
Solutions/MimecastTIRegional/Data Connectors/Helpers/threat_intel_feed_request_helper.py