Add type annotation for __init__.

This commit is contained in:
Sergey Vartanov 2021-08-18 09:36:38 +03:00
parent b20006f6ae
commit 737e434260
17 changed files with 45 additions and 41 deletions

View file

@ -21,7 +21,7 @@ class Handler(BaseHTTPRequestHandler):
def __init__(
self, request: bytes, client_address: tuple[str, int], server
):
) -> None:
super().__init__(request, client_address, server)
self.cache: Path = Path("cache")
self.update_cache: bool = False