octue / octue-sdk-python

The python SDK for @Octue services and digital twins.
https://octue.com
Other
10 stars 4 forks source link

Improve event filtering #673

Closed cortadocodes closed 3 months ago

cortadocodes commented 3 months ago

Contents (#673)

IMPORTANT: There are 2 breaking changes.

New features

Enhancements


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`.
codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 94.73684% with 2 lines in your changes missing coverage. Please review.

Project coverage is 94.49%. Comparing base (9092646) to head (aacefd6). Report is 9 commits behind head on main.

Files Patch % Lines
octue/cloud/events/handler.py 66.66% 1 Missing :warning:
octue/cloud/pub_sub/bigquery.py 94.44% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #673 +/- ## ========================================== - Coverage 94.50% 94.49% -0.01% ========================================== Files 83 83 Lines 3547 3577 +30 ========================================== + Hits 3352 3380 +28 - Misses 195 197 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.