fix(typing): resolucion integral de advertencias de tipado, extraccion de payload con get_request_payload y limpieza de modelos

This commit is contained in:
2026-10-19 16:02:42 -03:00
parent 5ed62d5d30
commit eff5ed5ce0
13 changed files with 78 additions and 235 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ async def get_request_payload(request: Request) -> Dict[str, Any]:
if "application/x-www-form-urlencoded" in content_type or "multipart/form-data" in content_type:
try:
form = await request.form()
return dict(form)
return {k: str(v) for k, v in form.items()}
except Exception:
return {}