Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Jan 14, 2025
1 parent 0c4407c commit 55e9764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nicegui/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import urllib
from enum import Enum
from pathlib import Path
from typing import Any, Awaitable, Callable, Iterator, List, Optional, Union
from typing import Any, Awaitable, Callable, Dict, Iterator, List, Optional, Union

from fastapi import FastAPI, HTTPException, Request, Response
from fastapi.responses import FileResponse
Expand Down Expand Up @@ -41,7 +41,7 @@ def __init__(self, **kwargs) -> None:
self.urls = ObservableSet()
self._state: State = State.STOPPED
self.config = AppConfig()
self._routes_to_remove: dict[str, float] = {}
self._routes_to_remove: Dict[str, float] = {}

self._startup_handlers: List[Union[Callable[..., Any], Awaitable]] = []
self._shutdown_handlers: List[Union[Callable[..., Any], Awaitable]] = []
Expand Down

0 comments on commit 55e9764

Please sign in to comment.