Skip to content

Commit

Permalink
🐛 fix object is not subscriptable for py3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
yezz123 committed Mar 1, 2024
1 parent 4b1b776 commit 74456e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastango/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any
from typing import Any, List

from pydantic import ImportString
from pydantic_settings import BaseSettings, SettingsConfigDict
Expand All @@ -25,7 +25,7 @@ class APISettings(BaseSettings):
disable_docs: bool = False

enable_error_handlers: bool = True
services: list[ImportString] = []
services: List[ImportString] = []
simplify_openapi_ids: bool = True

@property
Expand Down

0 comments on commit 74456e9

Please sign in to comment.