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 e6ee7ce commit c5bfa03Copy full SHA for c5bfa03
fake_charging_station/settings.py
@@ -2,7 +2,7 @@
2
3
from functools import cache
4
5
-from pydantic import BaseSettings
+from pydantic_settings import BaseSettings
6
7
8
class Settings(BaseSettings):
@@ -19,13 +19,6 @@ class Settings(BaseSettings):
19
quick_start_connector: int | None = 1
20
quick_start_charging: int | None = None
21
22
- class Config:
23
- """Settings Config."""
24
-
25
- env_nested_delimiter = "__"
26
- allow_mutation = False
27
- frozen = True
28
29
30
@cache
31
def get_settings() -> Settings:
0 commit comments