spraakbanken / mink-backend

Flask application serving as a backend to Min Språkbank
MIT License
0 stars 1 forks source link

Change response format for some Sparv process routes #89

Closed anne17 closed 10 months ago

anne17 commented 10 months ago

/run-sparv, /install-korp and /install-strix (all of which are defined in sparv/process_routes.py) are still using the old response format so that the frontend doesn't break. Instead of returning make_status_response_old they should return make_status_response. This needs to happen as the same time as the frontend starts using /resource-info instead of /check-status. The functions make_status_response_old and check_status may then be removed.

anne17 commented 10 months ago

Fixed in a7fe3da.