Rest-model-service

Latest version: v0.6.0

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

Scan your dependencies

Page 1 of 2

0.6.0

Changed
- Upgraded to Pydantic v2.

Added
- Added Prometheus instrumentation to the service.

0.5.1

Fixed
- Fixed error happening in model creation at application startup when decorators are added, schemas and description
were extracted from undecorated model instance.
- Moved logging configuration setup to the beginning of the application startup process.

0.5.0

Added
- Added ability to pass keyword arguments to model class \_\_init\_\_() method from the configuration file.
- Added lock to StatusManager singleton \_\_new\_\_() method to prevent race conditions.

Removed
- Removed "qualified_name" key from model configuration in configuration file, this configuration option is not needed.

0.4.1

Added
- Added logging for exceptions that happen during service initialization.

0.4.0

Added
- Added health, readiness, and startup check endpoints added to the service API.
- Added StatusManager singleton to manage status info in a central place.
- Added service description and service version options to configuration.
- Added a model metadata endpoint that returns the full metadata for a given model.

Changed
- Changed the model metadata endpoint to return model details for all models.

0.3.1

Added
- Added exception handler for validation errors.

Changed
- Changed Error schema "message" field to "messages" and changed type from str to List[str]

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.