We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15a5fff commit 439af32Copy full SHA for 439af32
starlette_plus/core.py
@@ -24,7 +24,7 @@
24
from starlette.applications import Starlette
25
from starlette.requests import Request
26
from starlette.responses import Response
27
-from starlette.routing import Route, WebSocketRoute
+from starlette.routing import Mount, Route, WebSocketRoute
28
from starlette.types import Receive, Scope, Send
29
from starlette.websockets import WebSocket
30
@@ -49,6 +49,7 @@ class ApplicationOptions(TypedDict, total=False):
49
middleware: list[Middleware]
50
on_startup: list[Callable[[], Coroutine[Any, Any, None]]]
51
on_shutdown: list[Callable[[], Coroutine[Any, Any, None]]]
52
+ routes: list[Route | WebSocketRoute | Mount]
53
54
55
__all__ = ("Application", "View", "route", "limit")
0 commit comments