code: def __getattr__(self, event_name: str) -> Callable:
      def mark_as_event_handler(method: Callable):
          check_handler_method_params(method)
          add_handler_event_name(method, event_name)
          return method
  
      return mark_as_event_handler
  
imports: from typing import Callable
  from aim.sdk.callbacks.helpers import add_handler_event_name, check_handler_method_params
label_desc: Use image node_id 1 for calling the On obj's underlying member method code with example usage: obj.__getattr__(event_name) and returns: mark_as_event_handler, method