Skip to content

Commit

Permalink
Make sure we use our Response class (#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Gonzalez-Martin authored Jul 25, 2023
1 parent fa981d8 commit 4e04d1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mlserver/rest/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ def __init__(
*args,
response_model_exclude_unset=True,
response_model_exclude_none=True,
response_class=Response,
**kwargs
):
super().__init__(
*args,
response_model_exclude_unset=response_model_exclude_unset,
response_model_exclude_none=response_model_exclude_none,
response_class=Response,
**kwargs
)

Expand Down

0 comments on commit 4e04d1f

Please sign in to comment.