From 6d1334319099f1c74069fb21c248d04589b76efb Mon Sep 17 00:00:00 2001 From: Flavio Curella Date: Mon, 22 Jan 2024 08:57:13 -0600 Subject: [PATCH] add missing type hint --- faker/providers/internet/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faker/providers/internet/__init__.py b/faker/providers/internet/__init__.py index ea2ecaeb10..d8d96fe717 100644 --- a/faker/providers/internet/__init__.py +++ b/faker/providers/internet/__init__.py @@ -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