Release/0.1.16
Contents
Breaking changes
- Rename
Service.__init__
parameterid
toservice_id
to avoid built-in name clash - Move
deployment
package intocloud
package
Dependencies
- Use newest version of
twined
to support python>=3.6
Minor improvements
- Remove duplicate code and unnecessary comments from
Runner
- Raise error if
SERVICE_ID
envvar is missing from deployment environment - Disallow non-None empty values as
Service
IDs - Add base class for service backends; update docstrings
Fixes
- Use
OctueJSONEncoder
in JSON serialisation insideService.answer
to ensurenumpy
arrays are serialised
Testing
- Add tests for
Topic
andSubscription
- Add extra test for
Service
- Shorten runtime of
cli.start
test