octue / octue-sdk-python

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

Improve async event retrieval workflow #647

Closed cortadocodes closed 2 months ago

cortadocodes commented 3 months ago

Contents (#647)

IMPORTANT: There are 2 breaking changes.

Enhancements

Fixes

Operations

Dependencies

Testing

Other


Upgrade instructions

πŸ’₯ Return question UUID from `Child.ask` Instead of writing `answer = Child.ask(...)`, write `answer, question_uuid = Child.ask(...)` (and the same for `ChildEmulator`)
πŸ’₯ Make `db-dtypes` and `google-cloud-bigquery` optional To keep using the `get_events` function, add the `bigquery` optional extra to your installation command e.g. `poetry install -E bigquery`.
codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 75.75758% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 94.62%. Comparing base (8eb0379) to head (330ea82). Report is 1 commits behind head on main.

Files Patch % Lines
octue/cloud/pub_sub/bigquery.py 70.83% 7 Missing :warning:
octue/resources/child.py 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #647 +/- ## ========================================== - Coverage 94.79% 94.62% -0.18% ========================================== Files 82 82 Lines 3535 3552 +17 ========================================== + Hits 3351 3361 +10 - Misses 184 191 +7 ```

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