apply_filters()
Yields the events that survive config.
Usage
apply_filters(
events,
config,
)Parameters
events: Iterable[TranscriptEvent]-
The events to filter.
config: FilterConfig- The filtering rules to apply.
Yields
TranscriptEvent- The events for which every enabled rule holds.