Connect breast follow-up to the configured cohort

This commit is contained in:
Angel Capetillo Zavala
2026-11-13 15:16:14 -06:00
parent 7bc214b50c
commit 8b47f1522d
9 changed files with 220 additions and 305 deletions
+3
View File
@@ -35,6 +35,9 @@ class IsoJSONProvider(DefaultJSONProvider):
def create_app() -> Flask:
app = Flask(__name__)
app.json = IsoJSONProvider(app)
from webapi.cama_runtime import configure_cama_cohort
configure_cama_cohort(app)
# File sources travel inside the request; cap them per request.
app.config["MAX_CONTENT_LENGTH"] = int(os.environ.get("WEBAPI_MAX_UPLOAD_MB", "200")) * 1024 * 1024