issues
search
datakind
/
permanent-colandr-back
DataCorps - Colandr Tool resources
https://www.colandrapp.com/signin
14
stars
1
forks
source link
More fixes and tidying
#81
Closed
bdewilde
closed
1 year ago
bdewilde
commented
1 year ago
changes
updates
textacy
from v0.12 => v0.13, and corresponding language identifier model from v2.0 => v3.0
updates registration and password reset emails to use colandr's existing templates (lightly modified)
fixes broken usage of
validation_error
throughout api by swapping in equivalent
bad_request_error
, which is also fine
moves ranker and deduper models together into a single lib subpackage
tidies up tass module, and removes an unnecessary wait loop in one of the tasks
replaces lingering
str.format()
with equivalent f-strings, where possible
modernizes a few sqlalchemy calls to use 2.0-friendly session execute paradigm
includes redis in health-check api endpoint
removes some old, unused scripts
adds unit tests for ranker model, moves tests for fileio
changes
textacy
from v0.12 => v0.13, and corresponding language identifier model from v2.0 => v3.0validation_error
throughout api by swapping in equivalentbad_request_error
, which is also finestr.format()
with equivalent f-strings, where possible