def __init__(self, target: _RegistrationTarget, event_type: Type):
self.target = target<EOL>self.event_type = event_type<EOL>
Constructor.
:param target: the object the event refers to
:param event_type: the type of update event