Releases: autotraderuk/fastapi-mlflow
Releases · autotraderuk/fastapi-mlflow
0.6.4
Changed
- Convert predictions back to Python objects asynchronously to take advantage of any concurrency magic in low-level pandas code.
Fixed
- Convert requests to pandas dataframe asynchronously to take advantage of any concurrency magic in low-level pandas code.
Removed
- Support for Python 3.8
Full Changelog: 0.6.3...0.6.4
0.6.3
[0.6.3] - 2023-11-08
Added
- Emit error message when an exception is handled by the built application. Add
X-Request-ID
header value to log message when present
0.6.2
[0.6.2] - 2023-08-23
Fixed
- Adapt to pydantic 2.x API changes
- Assume naive datetimes to be UTC
0.6.1
[0.6.1] - 2023-08-23
Fixed
- Generic error handling passes correct request and exception arguments
0.6.0
[0.6.0] - 2023-08-23
Changed
- Return an asynchronous function from build_predictor
- Use orjson to serialize responses from app returned by build_app
- Improved error handling in app returned by
build_app
; will catch and format genericExceptions
- Use newer pydantic and fastapi for potential performance improvements
0.5.0
[0.5.0] - 2023-06-09
Added
- Support for Python 3.10, 3.11
Security
- mlflow 2.x
- fastapi 0.96.x
0.4.1
[0.4.1] - 2023-04-17
Fixed
- Raise an error for unsupported field types. Previously would silently return a
None
resulting in request time errors. - Support objects for predictions in array-like structures by mapping them to strings
- Improve support for models that return 1d arrays / tensors of strings
- Catch errors when model result does not conform to expected schema, and format as JSON response
0.4.0
[0.4.0] - 2023-01-31
Added
- Catch errors raised by ML model's predict method, format them as JSON, and return as the body of the 500 status response.