From 1ba90ee5fe86fb447d92330743cded9b7a2277d4 Mon Sep 17 00:00:00 2001 From: Joan Fontanals Date: Wed, 10 Apr 2024 16:15:29 +0200 Subject: [PATCH] fix: fix usage of input model (#6163) --- jina/serve/runtimes/worker/http_csp_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jina/serve/runtimes/worker/http_csp_app.py b/jina/serve/runtimes/worker/http_csp_app.py index 06255aaf478a5..d440941c86449 100644 --- a/jina/serve/runtimes/worker/http_csp_app.py +++ b/jina/serve/runtimes/worker/http_csp_app.py @@ -117,7 +117,7 @@ async def process(body) -> output_model: if body.parameters is not None: req.parameters = body.parameters req.header.exec_endpoint = endpoint_path - req.document_array_cls = DocList[input_doc_model] + req.document_array_cls = DocList[input_doc_list_model] data = body.data if isinstance(data, list):