From 4577ae7a872c6cea9686314fb83bb6280a20d2ae Mon Sep 17 00:00:00 2001 From: phoenix Date: Wed, 2 Oct 2024 11:07:00 +0300 Subject: [PATCH] FastFix --- server/settings.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/server/settings.py b/server/settings.py index 47a9f8b..860ed7b 100644 --- a/server/settings.py +++ b/server/settings.py @@ -5,8 +5,10 @@ DatabaseCred ) +from promptadmin.types import Settings -class _Settings(BaseSettings): + +class _Settings(BaseSettings, Settings): app: str = 'prompt-admin' database: list[DatabaseCred] = [ @@ -26,11 +28,6 @@ class _Settings(BaseSettings): sync_edpoints: dict[str, str] = {} sync_secrets: dict[str, str] = {} - anthropic_key: str = os.getenv('PA_ANTHROPIC_KEY') - aws_secret_key: str = os.getenv('AWS_SECRET_KEY') - aws_access_key: str = os.getenv('AWS_ACCESS_KEY') - aws_region: str = os.getenv('AWS_REGION') - SETTINGS = _Settings()