<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_processed_events(self) -> List[Event]: """Get all processed events. This method is intended to be used to recover events stuck in the processed state which could happen if an event handling processing an processed event goes down before completing the event processing. Returns: list[Events], list of event objects. """

        event_ids = DB.get_list(self._processed_key)
        events = []
        for event_id in event_ids:
            event_str = DB.get_hash_value(self._data_key, event_id)
            event_dict = ast.literal_eval(event_str)
            event_dict['id'] = event_id
            event_dict['subscriber'] = self._subscriber
            events.append(Event.from_config(event_dict))
        return events