Skip to content

Commit

Permalink
add typing annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeane committed Nov 19, 2024
1 parent 822ac18 commit cb7428f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_pydantic_spec/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def _generate_spec(self) -> Mapping[str, Any]:

return self._generate_spec_common(routes)

def _get_route_security(self, no_api_key, is_token_route):
def _get_route_security(self, no_api_key: bool, is_token_route: bool) -> dict:
if no_api_key:
return {"security": []}
elif is_token_route:
Expand Down

0 comments on commit cb7428f

Please sign in to comment.