removed unnecessary settings

This commit is contained in:
Yannic Kilcher
2022-12-13 16:20:56 +01:00
parent 6bc64459f5
commit 3de66c692f
-4
View File
@@ -13,10 +13,6 @@ class Settings(BaseSettings):
BACKEND_CORS_ORIGINS: List[AnyHttpUrl] = []
UPDATE_ALEMBIC: bool = True
PORT: int = 8000
FASTAPI_RELOAD: bool = False
UVICONR_WOWKERS: int = 1
@validator("BACKEND_CORS_ORIGINS", pre=True)
def assemble_cors_origins(cls, v: Union[str, List[str]]) -> Union[List[str], str]:
if isinstance(v, str) and not v.startswith("["):