Skip to content

Commit

Permalink
add missing type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella committed Jan 22, 2024
1 parent e4c33e5 commit 6d13343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faker/providers/internet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def http_method(self) -> str:

return self.random_element(self.http_methods)

def http_status_code(self, include_unassigned=True) -> int:
def http_status_code(self, include_unassigned: bool = True) -> int:
"""Returns random HTTP status code
https://www.rfc-editor.org/rfc/rfc9110#name-status-codes
:param include_unassigned: Whether to include status codes which have
Expand Down

0 comments on commit 6d13343

Please sign in to comment.