mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-31 18:06:23 +02:00
Add type annotation for __init__.
This commit is contained in:
parent
b20006f6ae
commit
737e434260
17 changed files with 45 additions and 41 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue