Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jaejaywoo committed Nov 27, 2022
1 parent 53c5b4c commit b1f7581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastapi/openapi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,9 @@ def get_openapi(
output["paths"] = paths
if tags:
output["tags"] = tags
return jsonable_encoder(
return jsonable_encoder( # type: ignore
OpenAPI(**output),
by_alias=True,
exclude_unset=exclude_unset,
exclude_none=exclude_none,
) # type: ignore
)

0 comments on commit b1f7581

Please sign in to comment.