Fastapi-mlflow

Latest version: v0.6.2

Safety actively analyzes 623343 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.6.2

Fixed
- Adapt to pydantic 2.x API changes
- Assume naive datetimes to be UTC

0.6.1

Fixed
- Generic error handling passes correct request and exception arguments

0.6.0

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 generic `Exceptions`
- Use newer pydantic and fastapi for potential performance improvements

0.5.0

Added
- Support for Python 3.10, 3.11

Security
- mlflow 2.x
- fastapi 0.96.x

0.4.1

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

Added
- Catch errors raised by ML model's predict method, format them as JSON, and return as the body of the 500 status response.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.