Skip to content

Improve event filtering

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Aug 12:29
e116143

Contents (#673)

IMPORTANT: There are 2 breaking changes.

New features

  • Add dictionary_product utility function

Enhancements

  • 💥 BREAKING CHANGE: Disable event validation in EventReplayer by default
  • 💥 BREAKING CHANGE: Enable filtering by multiple event kinds in get_events
  • Enable excluding multiple event kinds in get_events
  • Use all non-question events for question redelivery check in flask app
  • Add ability to skip handling logs containing certain text in AbstractEventHandler and subclasses
  • Return outside of ThreadPoolExecutor context managers

Upgrade instructions

💥 Disable event validation in `EventReplayer` by default

Set validate_events=True in the EventReplayer constructor to retain the previous behaviour.

💥 Enable filtering by multiple event kinds in `get_events`

To filter by one event kind as before, use kinds=[event_kind] instead of kind=event_kind.