Follow-up list and patient risk routes are always registered; en_dev() is deprecated #11
Reference in New Issue
Block a user
Delete Branch "fix/dev-only-routes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
GET /cacu/seguimientoandGET /cacu/pacientes/<pac_id>/riesgowere registered only whenDEV_REVISIONwas set. No deployment sets it any more, so both answered 404 and the follow-up tab stayed empty although the data was there.create_appregisters both blueprints always. Every response still carriessimulado: true; who may see these routes is left to an access rule, not an environment variable.en_dev()is kept, deprecated (DeprecationWarning), with no callers.DEV_REVISIONnow check the routes exist without it; one test checks the deprecation warning.tests/test_seguimiento.pyandtests/test_patient_risk.py: 14 passed. The full suite's 10 failures (OCR without Tesseract, SQL Server withoutpymssql) are the same ondevwithout this change.Note: the routes now exist in every deployment, production included.