Skip to content

Improve async event retrieval workflow

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Apr 12:50
146d5ba

Contents (#647)

IMPORTANT: There are 2 breaking changes.

Enhancements

  • 馃挜 BREAKING CHANGE: Return question UUID from Child.ask
  • Deserialise manifests from events in get_event
  • Raise error if no events found when calling get_events

Fixes

  • Use correct base image for python3.11 dockerfile
  • Return schema-compliant events and attributes from get_events

Operations

  • Import missing APIs into terraform config
  • Deploy version 0.5.0 of event handler cloud function and update event store schema
  • Update actions/setup-python to version 5

Dependencies

  • 馃挜 BREAKING CHANGE: Make db-dtypes and google-cloud-bigquery optional
  • Upgrade gunicorn to avoid vulnerability
  • Loosen numpy dependency

Testing

  • Test retrieving results from real asynchronous question
  • Run tests with python3.10 (python3.9 isn't available on macos-latest for arm64)

Other

  • Add DOI badge to readme

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.