def get_symbolication_function(data): if is_minidump_event(data): return process_minidump elif is_applecrashreport_event(data): return process_applecrashreport elif is_native_event(data): return process_payload
def get_required_attachment_types(data) -> Set[str]: if is_minidump_event(data): return {MINIDUMP_ATTACHMENT_TYPE} elif is_applecrashreport_event(data): return {APPLECRASHREPORT_ATTACHMENT_TYPE} else: return set()
def get_event_enhancers(self, data): if is_minidump_event(data): return [process_minidump] elif is_applecrashreport_event(data): return [process_applecrashreport] elif is_native_event(data): return [process_payload]