Release v0.6.1
This is a minor release introducing a few convenience features for the server configuration and a some improvements to the working of the plugin manager.
- Ensure changing an option for only a step of the pipeline will not cause the other steps to also be re-triggered
(Unless there is some change in the incoming input from a changed step) - Added locks to API to avoid loading/using models while plugin_manager is working.
plugin_managerwill try to reinstall failed packages 3 times with an interval before failing- Added capability to load both MOST or LAST model used at server start (Fixes #42)
LOAD_ON_STARTcan now be set to eithermostorlastto load the most used or the last used model at server start.
Setting it totruewill default tomostwith a deprecation warning. - Added 2 environment variables to control server update behavior:
OCT_VERSION= ([current_number]/latest) - The version to install/update to default to the version of the downloaded release.
If set tolatestthe server will attempt to update to the latest version.
Can be set to any number of version available on PyPI https://pypi.org/project/django-ocr_translate/#historyOCT_AUTOUPDATE= ([false]/true) - If set totruethe server will attempt to upgrade the version at every start
to the configured value ofOCT_VERSION(default is release version).