From 1c44ed38fbb3ae6cd7e8200ceed1a75aca1b4d82 Mon Sep 17 00:00:00 2001 From: Michael Baudis Date: Thu, 14 Nov 2024 12:11:32 +0900 Subject: [PATCH] ... --- bycon/lib/parameter_parsing.py | 3 ++- docs/changes.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bycon/lib/parameter_parsing.py b/bycon/lib/parameter_parsing.py index 5685b93a4..c4250ba8e 100644 --- a/bycon/lib/parameter_parsing.py +++ b/bycon/lib/parameter_parsing.py @@ -253,8 +253,9 @@ def form_return_listvalue(form_data, parameter): `type: array` definition in `argument_definitions` to ensure that e.g. multi-value versions in GET requests are correctly processed. """ + p_d = humps.decamelize(parameter) a_defs = BYC.get("argument_definitions", {}) - p_defs = a_defs.get(parameter, {}) + p_defs = a_defs.get(p_d, {}) p_type = p_defs.get("type", "string") l_v = [] diff --git a/docs/changes.md b/docs/changes.md index c6423538e..0aaead90f 100644 --- a/docs/changes.md +++ b/docs/changes.md @@ -10,6 +10,8 @@ milestones. * properly have response code before document type in http header ... * slight modification for parameter processing in `serices/genespans/` +* fixed missed splitting of `camelCase` list parameters, introduced + some time last week... ### 2024-11-13 (v2.0.10)