code: def set_handlers(self):
      handlers = [
          (luigi.Event.SUCCESS, self._success),
          (luigi.Event.FAILURE, self._failure),
      ]
      for event, handler in handlers:
          luigi.Task.event_handler(event)(handler)
  
file_path: gokart/gokart/slack/event_aggregator.py
imports: import os
  from logging import getLogger
  from typing import List, TypedDict
  import luigi
label_desc: Use image node_id 2 for calling the EventAggregator obj's underlying member method code with example usage: obj.set_handlers() without return types