code: def __init__(self, **kwargs):
      kwargs["type"] = "typed_event"
      Event.__init__(self, **kwargs)
  
imports: import unittest
  import copy
  import functools
  from vispy.util.event import Event, EventEmitter
  from vispy.testing import run_tests_if_main, assert_raises, assert_equal
label_desc: Use image node_id 1 to create a new TypedEvent object from inherited base classes: Event with example: obj = TypedEvent()