From f3f3027a5f9198bd68af1777f36b2356d0b07cfc Mon Sep 17 00:00:00 2001 From: Aaron Pham <29749331+aarnphm@users.noreply.github.com> Date: Tue, 8 Nov 2022 15:44:34 -0800 Subject: [PATCH] fix: different output Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com> --- src/bentoml/_internal/io_descriptors/multipart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bentoml/_internal/io_descriptors/multipart.py b/src/bentoml/_internal/io_descriptors/multipart.py index 7618e5a9b9..c585feb207 100644 --- a/src/bentoml/_internal/io_descriptors/multipart.py +++ b/src/bentoml/_internal/io_descriptors/multipart.py @@ -262,7 +262,7 @@ async def from_http_request(self, request: Request) -> dict[str, t.Any]: for field, descriptor in self._inputs.items(): if field not in form_values: break - res[field] = await descriptor.from_http_request(form_values[field]) + res[field] = descriptor.from_http_request(form_values[field]) else: # NOTE: This is similar to goto, when there is no break. to_populate = zip(self._inputs.values(), form_values.values()) reqs = await asyncio.gather(