This commit is contained in:
Timothy Jaeryang Baek
2026-08-10 19:41:05 -06:00
parent 92f9f36c69
commit 11739a2de8
4 changed files with 21 additions and 13 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ def apply_model_params_to_body(params: dict, form_data: dict, mappings: dict[str
return form_data
for key, value in params.items():
if value is not None:
if value is not None and key not in form_data:
if key in mappings:
cast_func = mappings[key]
if isinstance(cast_func, Callable):