Ask a question to get started
Enter to send•Shift+Enter new line
Add an event to the list of events.
add_event( self, events: Union[ls_schemas.RunEvent, Sequence[ls_schemas.RunEvent], Sequence[dict], dict, str] ) -> None
events
Union[ls_schemas.RunEvent, Sequence[ls_schemas.RunEvent], Sequence[dict], dict, str]
The event(s) to be added. It can be a single event, a sequence of events, a sequence of dictionaries, a dictionary, or a string.