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(