code: def register(event: str, func: Callable):
      _triggers.setdefault(event, []).append(func)
  
imports: from typing import Any, Callable
label_desc: Use image node_id 2 for calling a global function with example usage: register(event, func) without return types