<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def user_view_events(self) -> List[str]: """Return event types where use viewed a main object."""

        return [event_type for event_type, event in self.items if event.get_event_action()
                == event_actions.VIEWED]