(self)
return events
Get a list of all events available on the bus

        Each event is a tuple in the form `(api_name, event_name)`
Get a list of all events available on the bus
Get a list of all events available on the bus
def events(self) -> List[Tuple[str, str]]:
        """Get a list of all events available on the bus

        Each event is a tuple in the form `(api_name, event_name)`
        """
        events = []
        for api_name in self.api_names:
            api_schema = self.get_api_schema(api_name)
            if api_schema:
                for event_name in api_schema["events"].keys():
                    events.append((api_name, event_name))
        return events
def events ( self ) -> List [ Tuple [ str , str ] ] : events = [ ] for api_name in self . api_names : api_schema = self . get_api_schema ( api_name ) if api_schema : for event_name in api_schema [ "events" ] . keys ( ) : events . append ( ( api_name , event_name ) ) return events