Session Event¤
SessionEvent is a type alias for the union of all possible events that can be emitted during a test session.
            SessionEvent
  
      module-attribute
  
¤
SessionEvent = Union[
    CollectReport,
    TestCaseEnd,
    TestCaseSetup,
    TestCaseTeardown,
    TestCaseCall,
    ErrorMessage,
    WarningMessage,
    SessionStart,
    SessionEnd,
]