Skip to content

Commit

Permalink
fix: different output
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
  • Loading branch information
aarnphm committed Nov 8, 2022
1 parent dfd860a commit f3f3027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bentoml/_internal/io_descriptors/multipart.py
Expand Up @@ -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(
Expand Down

0 comments on commit f3f3027

Please sign in to comment.