Skip to content

Commit

Permalink
typing
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalik authored Aug 12, 2024
1 parent f7bc7f8 commit 071db6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ninja/operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def _result_to_response(
resp_object, context={"request": request, "response_status": status}
)

model_dump_kwargs = {}
model_dump_kwargs: Dict[str, Any] = {}
if pydantic_version >= [2, 7]:
# pydantic added support for serialization context at 2.7
model_dump_kwargs.update(
Expand Down

0 comments on commit 071db6b

Please sign in to comment.