Skip to content

Commit

Permalink
Silence last mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ljodal committed Jul 5, 2023
1 parent 2794eec commit 1e8f04b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion django_api_decorator/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ def _get_query_params_model(
)
fields[arg_name] = (annotation, field)

return pydantic.create_model("QueryParams", **fields)
return pydantic.create_model( # type: ignore[no-any-return,call-overload]
"QueryParams", **fields
)


################
Expand Down

0 comments on commit 1e8f04b

Please sign in to comment.