def get_triage_events(self, before_date, after_date, classification_filter_operation, classification_list):
        """ 
            function for getting triage events,
            send only the DS converted dates using state serializer functions to get triage events
        """
        def _get_triage_events_by_date(before_date, after_date, classification_filter_operation, classification_list):
            params = self._get_classification_list(classification_filter_operation, classification_list)
            triage_url = self.url + "triage-item-events?limit=1000&event-created-before=" + str(before_date) + "&event-created-after=" +  str(after_date)
            response = self.session.get(triage_url, params=params)
            logger.info("Response for url: %s \t is : %s" % (triage_url, response.text))
            response.raise_for_status()
            return response.json()
        triage_events = _get_triage_events_by_date(before_date, after_date, classification_filter_operation, classification_list)

        if len(triage_events) == 1000:
            last_event_num = triage_events[len(triage_events) - 1].get("event-num")
            next_triage_events =self.get_triage_events_by_num(last_event_num, classification_filter_operation, classification_list)
            triage_events.extend(next_triage_events)
        
        return triage_events
 
            function for getting triage events,
            send only the DS converted dates using state serializer functions to get triage events
        
Solutions/Digital Shadows/Data Connectors/Digital Shadows/DigitalShadowsConnectorAzureFunction/DS_api.py