Skip to content

Commit 3691e04

Browse files
committed
Fix typing
1 parent afc7bc1 commit 3691e04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apitally/litestar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import sys
33
import time
44
from importlib.metadata import version
5-
from typing import Callable, Dict, Optional
5+
from typing import Callable, Dict, List, Optional
66

77
from litestar.app import DEFAULT_OPENAPI_CONFIG, Litestar
88
from litestar.config.app import AppConfig
@@ -143,7 +143,7 @@ def _get_openapi(app: Litestar) -> str:
143143
return json.dumps(schema)
144144

145145

146-
def _get_paths(app: Litestar) -> list[dict[str, str]]:
146+
def _get_paths(app: Litestar) -> List[Dict[str, str]]:
147147
openapi_config = app.openapi_config or DEFAULT_OPENAPI_CONFIG
148148
schema_path = openapi_config.openapi_controller.path
149149
return [

0 commit comments

Comments
 (0)